Issue
- A security scan has picked up the following vulnerabilities related to struts-core: CVE-2012-1007, CVE-2014-0112
CVE-2014-0112: ParametersInterceptor in Apache Struts before 2.3.20 does not properly restrict access to the getClass method, which allows remote attackers to "manipulate" the ClassLoader and execute arbitrary code via a crafted request. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-0094.
CVE-2012-1007: Multiple cross-site scripting (XSS) vulnerabilities in Apache Struts 1.3.10 allow remote attackers to inject arbitrary web script or HTML via (1) the name parameter to struts-examples/upload/upload-submit.do, or the message parameter to (2) struts-cookbook/processSimple.do or (3) struts-cookbook/processDyna.do.
Environment
-
DXP 7.4, DXP 7.3, DXP 7.2, DXP 7.1, DXP 7.0
Resolution
CVE-2014-0112: Liferay does not use Struts 2.x, therefore cannot be vulnerable to this CVE
CVE-2012-1007: Liferay is not affected by the said vulnerability, as the CVE states that the vulnerability can be exploited through the following components:
-
struts-examples/upload/upload-submit.do
-
struts-cookbook/processSimple.do
-
struts-cookbook/processDyna.do
Liferay does not provide struts-examples and struts-cookbook as part of its packages, thus cannot be exploited.
Additional Information: