QID 379107
Date Published: 2023-12-08
QID 379107: Apache Struts2 Remote Code Execution (S2-066) (Tomcat Server Authentication Record)
Apache Struts is an open-source Model-View-Controller (MVC) framework for creating elegant, modern Java web applications.
An unauthenticated, remote attacker could exploit this vulnerability by manipulating file upload parameters to enable a path traversal condition. Uploading a malicious file by leveraging this vulnerability could lead to execution of malicious code on the targeted system.
Affected Software:
Struts 2.0.0 - Struts 2.3.37 (EOL)
Struts 2.5.0 - Struts 2.5.32
Struts 6.0.0 - Struts 6.3.0
QID Detection Logic (Authenticated):
This QID gets Tomcat location from Tomcat server authentication record and searches for struts-core.x.jar file under sub directories. It extracts the version from .jar file and compares with vulnerable Struts versions.
Successful exploitation allows an unauthenticated, remote attacker to execute arbitrary code on the targeted system.
CVEs related to QID 379107
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| S2-066 |
|