CVE-2021-31805 Forced OGNL evaluation, when evaluated on raw not validated user input in tag attributes, may lead to RCE.
태그 속성에서 검증되지 않은 원시 사용자 입력으로 평가하면 강제 OGNL 평가가 RCE로 이어질 수 있습니다.
설명
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.
CVE-2020-17530에 대해 발행된 수정안이 불완전했습니다. 그래서 아파치 스트럿 2.0.0부터 2.5.29까지, 개발자가 %{...} 문법을 사용하여 강제로 OGNL 평가를 적용한다면 태그의 속성 중 일부는 여전히 이중 평가를 수행할 수 있다. 신뢰할 수 없는 사용자 입력에 대해 강제 OGNL 평가를 사용하면 원격 코드 실행 및 보안 저하가 발생할 수 있습니다.
영향 받는 제품 제품 1개
-
Apache Software Foundation
Apache Struts
영향 받는 버전
- 2.0.0 이상 2.5.29 이하
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
Maven · org.apache.struts:struts2-core
영향 받는 버전 · 해결 버전
- 영향 2.0.0 이상 2.5.30 미만 · 해결 2.5.30 이상
출처: GitHub Advisory Database · CC-BY 4.0
참고 자료 4건
- cwiki.apache.org https://cwiki.apache.org/confluence/display/WW/S2-062 (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20220420-0001/ (새 창)
- oracle.com https://www.oracle.com/security-alerts/cpujul2022.html (새 창)
- openwall.com http://www.openwall.com/lists/oss-security/2022/04/12/6 (새 창)