freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dániel Dékány (Jira) <j...@apache.org>
Subject [jira] [Resolved] (FREEMARKER-124) Security - templates can get classloader by using java.security.ProtectionDomain.getClassLoader
Date Sat, 11 Jan 2020 18:39:00 GMT

     [ https://issues.apache.org/jira/browse/FREEMARKER-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dániel Dékány resolved FREEMARKER-124.
--------------------------------------
    Fix Version/s: 2.3.30
       Resolution: Fixed

Fix committed.

> Security - templates can get classloader by using java.security.ProtectionDomain.getClassLoader
> -----------------------------------------------------------------------------------------------
>
>                 Key: FREEMARKER-124
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-124
>             Project: Apache Freemarker
>          Issue Type: Bug
>            Reporter: Gal Ben Ami
>            Priority: Critical
>              Labels: security
>             Fix For: 2.3.30
>
>
> By using java.security.ProtectionDomain.getClassLoader templates will get access to the
classloader and from there can get filesystem access and more.
>  
> See:
> [https://github.com/apache/freemarker/pull/62]
>  
> And 
> [https://ackcent.com/blog/in-depth-freemarker-template-injection/]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message