CVE-2021-31805
Apache Struts Remote Code Execution via Forced OGNL Evaluation Weakness
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.
INFO
Published Date :
April 12, 2022, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 6:06 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-31805 has a 27 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-31805
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2022/04/12/6 | Mailing List Mitigation Third Party Advisory |
https://cwiki.apache.org/confluence/display/WW/S2-062 | Mitigation Patch Vendor Advisory |
https://security.netapp.com/advisory/ntap-20220420-0001/ | Third Party Advisory |
https://www.oracle.com/security-alerts/cpujul2022.html | |
http://www.openwall.com/lists/oss-security/2022/04/12/6 | Mailing List Mitigation Third Party Advisory |
https://cwiki.apache.org/confluence/display/WW/S2-062 | Mitigation Patch Vendor Advisory |
https://security.netapp.com/advisory/ntap-20220420-0001/ | Third Party Advisory |
https://www.oracle.com/security-alerts/cpujul2022.html |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities
attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc
None
None
Python
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms
Assembly Python Shell PHP C++ C Go Ruby HTML Java
None
CSS HTML JavaScript
Vulnerable environment of CVE-2021-31805 (S2-062) for testing
Java HTML
poc集合(持续更新ing)
在公网收集的gobypoc+部分自己加的poc
Some IoT targets with vulnerabllities, running in docker containers
Dockerfile Python Shell
A Common Vulnerability PoC Knowledge Base一个普遍漏洞POC知识库
vulnerability
List of awesome starred repositories
Python
None
None
Assembly Python Shell PHP C++ C Go Ruby HTML Java
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-31805
vulnerability anywhere in the article.
- 360 Netlab Blog - Network Security Research Lab at 360
公有云网络安全威胁情报(202204)
概述 本文聚焦于云上重点资产的扫描攻击、云服务器总体攻击情况分析、热门漏洞及恶意程序的攻击威胁。 360高级威胁狩猎蜜罐系统发现全球9.2万个云服务器IP进行网络扫描、漏洞攻击、传播恶意软件等行为。其中包括国内39家单位所属的云服务资产IP,这些单位涉及政府、医疗、建筑、军工等多个行业。 2022年4月,WSO2多个产品和Apache Struts2爆出高危漏洞,两个漏洞技术细节已经公开,并且我们 ... Read more
The following table lists the changes that have been made to the
CVE-2021-31805
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/04/12/6 Added Reference https://cwiki.apache.org/confluence/display/WW/S2-062 Added Reference https://security.netapp.com/advisory/ntap-20220420-0001/ Added Reference https://www.oracle.com/security-alerts/cpujul2022.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jul. 25, 2022
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpujul2022.html [No Types Assigned] -
Modified Analysis by [email protected]
Apr. 27, 2022
Action Type Old Value New Value Changed Reference Type https://security.netapp.com/advisory/ntap-20220420-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20220420-0001/ Third Party Advisory -
CVE Modified by [email protected]
Apr. 20, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20220420-0001/ [No Types Assigned] -
Initial Analysis by [email protected]
Apr. 20, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2022/04/12/6 No Types Assigned http://www.openwall.com/lists/oss-security/2022/04/12/6 Mailing List, Mitigation, Third Party Advisory Changed Reference Type https://cwiki.apache.org/confluence/display/WW/S2-062 No Types Assigned https://cwiki.apache.org/confluence/display/WW/S2-062 Mitigation, Patch, Vendor Advisory Added CWE NIST CWE-917 Added CPE Configuration OR *cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (including) 2.5.29 -
CVE Modified by [email protected]
Apr. 12, 2022
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/04/12/6 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-31805
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-31805
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
90.01 }} 69.96%
score
0.99046
percentile