Exploit database

Vulnerability

CVE-2010-1870

Vulnerability details

Score
5.0
Severity
medium

CVSS 2.0 · NVD

Vector string

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

Description

The OGNL extensive expression evaluation capability in XWork in Struts 2.0.0 through 2.1.8.1, as used in Atlassian Fisheye, Crucible, and possibly other products, uses a permissive whitelist, which allows remote attackers to modify server-side context objects and bypass the "#" protection mechanism in ParameterInterceptors via the (1) #context, (2) #_memberAccess, (3) #root, (4) #this, (5) #_typeResolver, (6) #_classResolver, (7) #_traceEvaluations, (8) #_lastEvaluation, (9) #_keepLastEvaluation, and possibly other OGNL context variables, a different vulnerability than CVE-2008-6504.

CVE Program

Showing saved CVE details. Refresh is temporarily unavailable.

Exploit source choices

3 sources
Apache Struts Remote Command Execution
MSF-multi--http--struts_code_execMetasploitLinux,Windows / remote

This module exploits a remote command execution vulnerability in Apache Struts versions < 2.2.0. This issue is caused by a failure to properly handle unicode characters in OGNL extensive expressions passed to the web server. By sending a specially crafted request to the Struts application it is possible to bypass the "#" restriction on ParameterInterceptors by using OGNL context variables. Bypassing this restriction allows for the execution of arbitrary Java code.

2010-07-13struts_code_exec.rb