Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. opensymphony/xwork
  4. ›
  5. CVE-2007-4556

CVE-2007-4556: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

May 1, 2022 (updated June 7, 2022)

Struts support in OpenSymphony XWork before 1.2.3, and 2.x before 2.0.4, as used in WebWork and Apache Struts, recursively evaluates all input as an Object-Graph Navigation Language (OGNL) expression when altSyntax is enabled, which allows remote attackers to cause a denial of service (infinite loop) or execute arbitrary code via form input beginning with a “%{” sequence and ending with a “}” character.

References

  • struts.apache.org/2.x/docs/s2-001.html
  • github.com/advisories/GHSA-h7mf-qrm9-2848
  • nvd.nist.gov/vuln/detail/CVE-2007-4556

Code Behaviors & Features

Detect and mitigate CVE-2007-4556 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.3, all versions starting from 2.0.0 before 2.0.4

Fixed versions

  • 1.2.3
  • 2.0.4

Solution

Upgrade to versions 1.2.3, 2.0.4 or above.

Impact 6.8 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/opensymphony/xwork/CVE-2007-4556.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:01 +0000.