2014-05-02EDB-33142.rb
Exploit database
Vulnerability
CVE-2014-0094
Vulnerability details
- Score
- 5.0
- Severity
- medium
CVSS 2.0 · NVD
Vector string
AV:N/AC:L/Au:N/C:N/I:P/A:NDescription
The ParametersInterceptor in Apache Struts before 2.3.16.2 allows remote attackers to "manipulate" the ClassLoader via the class parameter, which is passed to the getClass method.
CVE ProgramExploit source choices
3 sources2014-03-06EDB-41690.rb
Apache Struts ClassLoader Manipulation Remote Code Execution
This module exploits a remote command execution vulnerability in Apache Struts versions 1.x (<= 1.3.10) and 2.x (< 2.3.16.2). In Struts 1.x the problem is related with the ActionForm bean population mechanism while in case of Struts 2.x the vulnerability is due to the ParametersInterceptor. Both allow access to 'class' parameter that is directly mapped to getClass() method and allows ClassLoader manipulation. As a result, this can allow remote attackers to execute arbitrary Java code via crafted parameters.
2014-03-06struts_code_exec_classloader.rb