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.
Workaround:
The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.
Link | Tags |
---|---|
https://cwiki.apache.org/confluence/display/WW/S2-062 | patch vendor advisory mitigation |
http://www.openwall.com/lists/oss-security/2022/04/12/6 | mailing list third party advisory mitigation |
https://www.oracle.com/security-alerts/cpujul2022.html | |
https://security.netapp.com/advisory/ntap-20220420-0001/ | third party advisory |