You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Dániel Dékány (Jira)" <ji...@apache.org> on 2020/03/07 14:21:00 UTC
[jira] [Closed] (FREEMARKER-124) Security - templates can get
classloader by using java.security.ProtectionDomain.getClassLoader
[ https://issues.apache.org/jira/browse/FREEMARKER-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dániel Dékány closed FREEMARKER-124.
------------------------------------
> 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)