GHSA-265r-pp83-gww7

    Dashboard / Vulnerabilities / GHSA-265r-pp83-gww7

    GHSA-265r-pp83-gww7

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

    Summary: Cross-site Scripting in Apache Struts

    Details: When the Struts2 debug mode is turned on, under certain conditions an arbitrary script may be executed in the 'Problem Report' screen. Also if JSP files are exposed to be accessed directly it's possible to execute an arbitrary script. It is generally not advisable to have debug mode switched on outside of the development environment. Debug mode should always be turned off in production setup. Also never expose JSPs files directly and hide them inside WEB-INF folder or define dedicated security constraints to block access to raw JSP files. Struts >= 2.3.20 is not vulnerable to this attack. We recommend upgrading to Struts 2.3.20 or higher if turning off debug mode is not possible.

    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.3.20

    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-265r-pp83-gww7 | CVE-DB