Exploit database

Vulnerability

CVE-2014-0114

Vulnerability details

Score
7.5
Severity
high

CVSS 2.0 · NVD

Vector string

AV:N/AC:L/Au:N/C:P/I:P/A:P

Description

Apache Commons BeanUtils, as distributed in lib/commons-beanutils-1.8.0.jar in Apache Struts 1.x through 1.3.10 and in other products requiring commons-beanutils through 1.9.2, does not suppress the class property, which allows remote attackers to "manipulate" the ClassLoader and execute arbitrary code via the class parameter, as demonstrated by the passing of this parameter to the getClass method of the ActionForm object in Struts 1.

CVE Program

Exploit source choices

7 sources
Apache Struts ClassLoader Manipulation Remote Code Execution
MSF-multi--http--struts_code_exec_classloaderMetasploitLinux,Windows / remote

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
rgielen/struts1filter
GH-c66333a3ed1167c9b43996389888615bGitHubUnofficial GitHub source

A request parameter filter solution for Struts 1 CVE-2014-0114 based on the work of Alvaro Munoz and the HP Fortify team

2014-05-225 files · 12 stars
bingcai/struts-mini
GH-de894f91d7e98cef9040c5a76fe8c00fGitHubUnofficial GitHub source

Security patch for struts 1.3.8

2017-12-089 files · 3 stars
aenlr/strutt-cve-2014-0114
GH-514ad9ca1a3aa9e1c39520ee1dc59355GitHubUnofficial GitHub source

aenlr/strutt-cve-2014-0114 source repository

2019-05-2717 files · 2 stars
ricedu/struts1-patch
GH-b311da76bb37ddf2ee5e106493a644a3GitHubUnofficial GitHub source

struts1 CVE-2014-0114 classLoader manipulation vulnerability patch

2014-06-10329 files · 1 stars
alonsoaca/struts1
GH-5a4e14738e33008dbbb0308d6459d6e1GitHubUnofficial GitHub source

alonsoaca/struts1 source repository

2025-02-261,395 files · 0 stars