XWork AltSyntax OGNL Input Validation Vulnerability

BID:25524

Info

XWork AltSyntax OGNL Input Validation Vulnerability

Bugtraq ID: 25524
Class: Input Validation Error
CVE: CVE-2007-4556
Remote: Yes
Local: No
Published: Sep 04 2007 12:00AM
Updated: Mar 13 2008 03:01PM
Credit: Andrea Vettori discovered this vulnerability.
Vulnerable: OpenSymphony XWork 2.0.3
OpenSymphony XWork 2.0.2
OpenSymphony XWork 2.0.1
OpenSymphony WebWork 2.2.5
OpenSymphony WebWork 2.2.4
OpenSymphony WebWork 2.2.3
OpenSymphony WebWork 2.2.2
OpenSymphony WebWork 2.2.1
OpenSymphony WebWork 2.2
OpenSymphony WebWork 2.1
Apache Struts 2.0.8
Apache Struts 2.0.7
Apache Struts 2.0.6
Apache Struts 2.0.5
Apache Struts 2.0.4
Apache Struts 2.0.3
Apache Struts 2.0.2
Apache Struts 2.0.1
Not Vulnerable: OpenSymphony XWork 2.0.4
OpenSymphony WebWork 2.2.6
Apache Struts 2.0.9

Discussion

XWork AltSyntax OGNL Input Validation Vulnerability

XWork is prone to an input-validation vulnerability because it fails to adequately handle user-supplied input.

NOTE: This issue will occur only when the 'altSyntax' feature is enabled.

Attackers can exploit this issue to execute arbitrary OGNL expressions with the privileges of the user running the application. Successful exploits can compromise the application and possibly the underlying computer.

Versions prior to XWork 2.0.4 are vulnerable.

Exploit / POC

XWork AltSyntax OGNL Input Validation Vulnerability

Currently we are not aware of any working exploits for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

Solution / Fix

XWork AltSyntax OGNL Input Validation Vulnerability

Solution:
The vendor released XWork 2.0.4 to address this issue. Please see the references for more information.


Apache Struts 2.0.1

OpenSymphony XWork 2.0.1

OpenSymphony XWork 2.0.2

Apache Struts 2.0.2

OpenSymphony XWork 2.0.3

Apache Struts 2.0.3

Apache Struts 2.0.4

Apache Struts 2.0.5

Apache Struts 2.0.6

Apache Struts 2.0.7

Apache Struts 2.0.8

OpenSymphony WebWork 2.1

OpenSymphony WebWork 2.2

OpenSymphony WebWork 2.2.1

OpenSymphony WebWork 2.2.2

OpenSymphony WebWork 2.2.3

OpenSymphony WebWork 2.2.4

OpenSymphony WebWork 2.2.5

References

XWork AltSyntax OGNL Input Validation Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report