QID 150354

Date Published: 2021-08-09

QID 150354: Apache Struts 2 Double OGNL Evaluation Vulnerability (CVE-2020-17530)

Apache Struts 2 is an open-source web application framework for developing Java EE web applications. A vulnerability CVE-2020-17530 exists due to use of forced OGNL evaluation on untrusted user input in tag attributes, leading to a Remote Code Execution.

Affected Versions:
Apache Struts 2.0.0 - 2.5.25

QID Detection Logic:
This QID sends POST and GET request along with the payload, which triggers a remote code execution. Successful execution on a Linux system results in contents of shadow file getting detected in the response, whereas on a Windows system a string is echoed using cmd and detected in the response.

A remote attacker could exploit this vulnerability to execute arbitrary code on the targeted system.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as High - 7.5 severity.
  • Solution
    Please refer Apache Security Bulletin S2-061 for more details on remediating this vulnerability.
    Vendor References

    CVEs related to QID 150354

    Software Advisories
    Advisory ID Software Component Link
    S2-061 URL Logo struts.apache.org/announce-2020.html#a20201208
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report