legacy-knowledge-base
Publicado Jun. 25, 2030

Detected Vulnerabilities related to Struts

written-by

Neil Cuzon

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

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:

  1. struts-examples/upload/upload-submit.do

  2. struts-cookbook/processSimple.do

  3. struts-cookbook/processDyna.do

Liferay does not provide struts-examples and struts-cookbook as part of its packages, thus cannot be exploited. 


Additional Information:

 

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base