CVE-2021-31805

critical

Description

The fix issued for CVE-2020-17530 was incomplete. So from Apache Struts 2.0.0 to 2.5.29, still some of the tag’s attributes could perform a double evaluation if a developer applied forced OGNL evaluation by using the %{...} syntax. Using forced OGNL evaluation on untrusted user input can lead to a Remote Code Execution and security degradation.

References

https://veriti.ai/blog/vulnerable-villain-when-hackers-get-hacked/

https://www.tenable.com/cyber-exposure/tenable-2022-threat-landscape-report

https://www.oracle.com/security-alerts/cpujul2022.html

https://security.netapp.com/advisory/ntap-20220420-0001/

https://cwiki.apache.org/confluence/display/WW/S2-062

http://www.openwall.com/lists/oss-security/2022/04/12/6

Details

Source: Mitre, NVD

Published: 2022-04-12

Updated: 2022-07-25

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical