Bug 2074788 (CVE-2021-31805) - CVE-2021-31805 Apache Struts: Forced OGNL evaluation, when evaluated on raw not validated user input in tag attributes, may lead to RCE.
Summary: CVE-2021-31805 Apache Struts: Forced OGNL evaluation, when evaluated on raw n...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-31805
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-13 05:48 UTC by Avinash Hanwate
Modified: 2023-02-27 13:56 UTC (History)
18 users (show)

Fixed In Version: Struts 2.5.30
Clone Of:
Environment:
Last Closed: 2022-04-13 08:08:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Avinash Hanwate 2022-04-13 05:48:44 UTC
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.

https://cwiki.apache.org/confluence/display/WW/S2-062
http://www.openwall.com/lists/oss-security/2022/04/12/6

Comment 1 Product Security DevOps Team 2022-04-13 08:08:34 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-31805


Note You need to log in before you can comment on or make changes to this bug.