Legacy Knowledge Base
Published Jun. 30, 2025

Detected Vulnerabilities related to Struts

Written By

Neil Cuzon

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

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