The Apache Struts framework, when forced, performs double evaluation of attributes' values assigned to certain tags attributes such as id. It is therefore possible to pass in a value to Struts that will be evaluated again when a tag's attributes are rendered. With a carefully crafted request, this can lead to Remote Code Execution (RCE). This vulnerability is application dependant. A server side template must make an affected use of request data to render an HTML tag attribute.
Vulnerability
CVE-2020-17530
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.
CVE ProgramExploit source choices
15 sourcesessential templates for kenzer [DEPRECATED]
ka1n4t/cve-2020-17530 source repository
S2-061 的payload,以及对应简单的PoC/Exp
S2-062 (CVE-2021-31805) / S2-061 / S2-059 RCE
S2-061 CVE-2020-17530
CVE-Search (name still in alpha), is a Machine Learning tool focused on the detection of exploits or proofs of concept in social networks such as Twitter, Github. It is also capable of doing related searches on Google, Yandex, DuckDuckGo on CVEs and detecting if the content may be a functional exploit, a proof of concept or simply information about the vulnerability.
CVE-2020-17530-strust2-061
S2-061/S2-062 Struts2 远程命令执行漏洞 POC&EXP
cyborgsecurity/cve-2020-17530 source repository
apachecn-archive/middleware-vulnerability-detection source repository
Apache Struts2 S2-062(CVE-2021-31805)远程代码执行批量检测(无利用)
Apache Struts2框架是一个用于开发Java EE网络应用程序的Web框架。Apache Struts于2020年12月08日披露 S2-061 Struts 远程代码执行漏洞(CVE-2020-17530),在使用某些tag等情况下可能存在OGNL表达式注入漏洞,从而造成远程代码执行,风险极大。提醒我校Apache Struts用户尽快采取安全措施阻止漏洞攻击。
Apache Struts2框架是一个用于开发Java EE网络应用程序的Web框架。Apache Struts于2020年12月08日披露 S2-061 Struts 远程代码执行漏洞(CVE-2020-17530),在使用某些tag等情况下可能存在OGNL表达式注入漏洞,从而造成远程代码执行,风险极大。提醒我校Apache Struts用户尽快采取安全措施阻止漏洞攻击。
brunsu/woodswiki source repository