GHSA-56f8-g68r-j699

    Dashboard / Vulnerabilities / GHSA-56f8-g68r-j699

    GHSA-56f8-g68r-j699

    Published: 17 May 2022Last Modified: 4 Dec 2024
    Aliases:

    Summary: Cross-site Scripting in Apache Struts

    Details: Multiple Cross-Site Scripting (XSS) in XWork generated error pages in Apache Struts. By default, XWork doesn't escape action's names in automatically generated error page, allowing for a successful XSS attack. When Dynamic Method Invocation (DMI) is enabled, the action name is generated dynamically base on request parameters. This allows to call non-existing page and method to produce error page with injected code as below. As of Struts 2.2.3 the action names are escaped when automatically generated error pages are rendered.

    Affected packages

    Package

    Name: org.apache.struts:struts2-core

    Purl: pkg:maven/org.apache.struts/struts2-core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.2.3

    Affected versions

    2.0.11
    2.0.11.1
    2.0.11.2
    2.0.12
    2.0.14
    2.0.5
    2.0.6
    2.0.8
    2.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-56f8-g68r-j699 | CVE-DB