CWE
20
Advisory Published
Updated

CVE-2008-6504: Input Validation

First published: Mon Mar 23 2009(Updated: )

ParametersInterceptor in OpenSymphony XWork 2.0.x before 2.0.6 and 2.1.x before 2.1.2, as used in Apache Struts and other products, does not properly restrict # (pound sign) references to context objects, which allows remote attackers to execute Object-Graph Navigation Language (OGNL) statements and modify server-side context objects, as demonstrated by use of a \u0023 representation for the # character.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
OpenSymphony XWork=2.1.1
OpenSymphony XWork=2.0.4
OpenSymphony XWork=2.0.3
OpenSymphony XWork=2.0.5
OpenSymphony XWork=2.0.0
OpenSymphony XWork=2.0.2
OpenSymphony XWork=2.0.1
OpenSymphony XWork=2.1.0
Apache Struts 2=2.0.9
Apache Struts 2=2.0.0
Apache Struts 2=2.0.8
Apache Struts 2=2.0.7
Apache Struts 2=2.0.4
Apache Struts 2=2.0.2
Apache Struts 2=2.0.11.1
Apache Struts 2=2.0.3
Apache Struts 2=2.0.11
Apache Struts 2=2.0.5
Apache Struts 2=2.0.11.2
Apache Struts 2=2.0.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2008-6504?

    CVE-2008-6504 has a severity rating that indicates it can lead to remote code execution vulnerabilities.

  • How do I fix CVE-2008-6504?

    To fix CVE-2008-6504, upgrade to OpenSymphony XWork version 2.0.6 or later, or 2.1.2 or later, or Apache Struts versions 2.0.11.2 or later.

  • What systems are affected by CVE-2008-6504?

    CVE-2008-6504 affects OpenSymphony XWork versions 2.0.0 through 2.0.5 and 2.1.0 through 2.1.1 as well as Apache Struts versions 2.0.0 through 2.0.11.1.

  • What type of vulnerability is CVE-2008-6504?

    CVE-2008-6504 is a remote code execution vulnerability stemming from improper handling of OGNL statements.

  • Can CVE-2008-6504 be exploited remotely?

    Yes, CVE-2008-6504 can be exploited remotely by attackers to execute arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203