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.
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].
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
Solution:
The vendor released XWork 2.0.4 to address this issue. Please see the references for more information.
Apache Struts 2.0.1
-
Apache struts-2.0.9-all.zip
http://people.apache.org/builds/struts/2.0.9/struts-2.0.9-all.zip
OpenSymphony XWork 2.0.1
-
OpenSymphony xwork-2.0.4-all.zip
https://xwork.dev.java.net/files/documents/709/62331/xwork-2.0.4-all.z ip
OpenSymphony XWork 2.0.2
-
OpenSymphony xwork-2.0.4-all.zip
https://xwork.dev.java.net/files/documents/709/62331/xwork-2.0.4-all.z ip
Apache Struts 2.0.2
-
Apache struts-2.0.9-all.zip
http://people.apache.org/builds/struts/2.0.9/struts-2.0.9-all.zip
OpenSymphony XWork 2.0.3
-
OpenSymphony xwork-2.0.4-all.zip
https://xwork.dev.java.net/files/documents/709/62331/xwork-2.0.4-all.z ip
Apache Struts 2.0.3
-
Apache struts-2.0.9-all.zip
http://people.apache.org/builds/struts/2.0.9/struts-2.0.9-all.zip
Apache Struts 2.0.4
-
Apache struts-2.0.9-all.zip
http://people.apache.org/builds/struts/2.0.9/struts-2.0.9-all.zip
Apache Struts 2.0.5
-
Apache struts-2.0.9-all.zip
http://people.apache.org/builds/struts/2.0.9/struts-2.0.9-all.zip
Apache Struts 2.0.6
-
Apache struts-2.0.9-all.zip
http://people.apache.org/builds/struts/2.0.9/struts-2.0.9-all.zip
Apache Struts 2.0.7
-
Apache struts-2.0.9-all.zip
http://people.apache.org/builds/struts/2.0.9/struts-2.0.9-all.zip
Apache Struts 2.0.8
-
Apache struts-2.0.9-all.zip
http://people.apache.org/builds/struts/2.0.9/struts-2.0.9-all.zip
OpenSymphony WebWork 2.1
-
OpenSymphony webwork-2.2.6.zip
https://webwork.dev.java.net/files/documents/693/62430/webwork-2.2.6.z ip
OpenSymphony WebWork 2.2
-
OpenSymphony webwork-2.2.6.zip
https://webwork.dev.java.net/files/documents/693/62430/webwork-2.2.6.z ip
OpenSymphony WebWork 2.2.1
-
OpenSymphony webwork-2.2.6.zip
https://webwork.dev.java.net/files/documents/693/62430/webwork-2.2.6.z ip
OpenSymphony WebWork 2.2.2
-
OpenSymphony webwork-2.2.6.zip
https://webwork.dev.java.net/files/documents/693/62430/webwork-2.2.6.z ip
OpenSymphony WebWork 2.2.3
-
OpenSymphony webwork-2.2.6.zip
https://webwork.dev.java.net/files/documents/693/62430/webwork-2.2.6.z ip
OpenSymphony WebWork 2.2.4
-
OpenSymphony webwork-2.2.6.zip
https://webwork.dev.java.net/files/documents/693/62430/webwork-2.2.6.z ip
OpenSymphony WebWork 2.2.5
-
OpenSymphony webwork-2.2.6.zip
https://webwork.dev.java.net/files/documents/693/62430/webwork-2.2.6.z ip
References
XWork AltSyntax OGNL Input Validation Vulnerability
References:
References:
- Struts 2 User input is evaluated as an OGNL expression (Apache)
- XWork 1.2.3 Released (OpenSymphoney)
- XWork Homepage (OpenSymphony)