CVE-2020-17530
CRITICAL KEV NUCLEIApache Struts 2 Forced Multi OGNL Evaluation
Title source: metasploitExploitation Summary
CVE-2020-17530 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added November 3, 2021.
EIP tracks 13 public exploits from researchers including ka1n4t, wuzuowei, Al1ex, including a Metasploit module exploits/multi/http/struts2_multi_eval_ognl.
A Nuclei detection template is also available.
AI-analyzed exploit summary This PoC exploits CVE-2020-17530 (Struts2 RCE via OGNL injection) by crafting a malicious payload that executes arbitrary commands (e.g., launching Calculator on macOS). The Python script sends the payload via HTTP POST to a vulnerable Struts2 endpoint.
Description
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.
Exploits (13)
This PoC exploits CVE-2020-17530 (Struts2 RCE via OGNL injection) by crafting a malicious payload that executes arbitrary commands (e.g., launching Calculator on macOS). The Python script sends the payload via HTTP POST to a vulnerable Struts2 endpoint.
This repository contains two Python scripts demonstrating exploitation of CVE-2020-17530 (Struts2 S2-061), a remote code execution vulnerability. The scripts include a command execution PoC and a reverse shell payload, both leveraging OGNL injection via crafted payloads.
This repository contains a working PoC for CVE-2020-17530 (S2-061), demonstrating remote code execution via OGNL injection in Apache Struts2. The exploit leverages Freemarker template utility to execute arbitrary commands.
This PoC exploits CVE-2020-17530, a remote code execution vulnerability in Apache Struts2 due to unsafe OGNL expression evaluation. It constructs a malicious payload to execute arbitrary commands via a crafted URL parameter.
The repository contains only a README file with no exploit code or technical details. No actionable PoC or exploit logic is present.
This is a functional exploit for CVE-2020-17530, leveraging OGNL injection in Apache Struts to achieve remote code execution. The PoC constructs a malicious payload to execute arbitrary commands via a crafted HTTP request.
The repository contains a non-functional Python script with a placeholder print statement and a README describing CVE-2020-17530, an OGNL injection vulnerability in Apache Struts2. No actual exploit code is present.
This is a Python-based exploit for CVE-2020-17530, an OGNL injection vulnerability in Apache Struts2/Tomcat. It constructs a malicious payload to execute arbitrary system commands via OGNL expression injection.
This PoC demonstrates CVE-2020-17530, a vulnerability in Apache Struts2 where improper validation of file uploads can lead to RCE. The provided code sets up a Tomcat server with a vulnerable Struts2 configuration, allowing for exploitation via malicious file uploads.
This repository contains a Python-based exploit for CVE-2020-17530, a remote command execution vulnerability in Apache Struts2 (S2-061). The exploit leverages OGNL injection to execute arbitrary commands on vulnerable systems.
This repository contains a GUI-based exploit for CVE-2020-17530, a remote code execution vulnerability in Apache Struts2 (S2-061). The exploit leverages OGNL injection to execute arbitrary commands on the target system. The GUI allows users to input a target URL and command, then displays the output.
This PoC exploits CVE-2020-17530, a remote code execution vulnerability in Apache Struts2 (S2-061) via Freemarker template injection. It constructs a malicious payload to bypass security restrictions and execute arbitrary commands on the target system.
This Metasploit module exploits CVE-2020-17530 and CVE-2019-0230 in Apache Struts 2 by leveraging forced OGNL evaluation to achieve remote code execution (RCE). It supports both direct command execution and staged payloads for Unix/Linux targets.
Nuclei Templates (1)
http.html:"apache struts" || http.title:"struts2 showcase" || http.html:"struts problem report"
body="struts problem report" || title="struts2 showcase" || body="apache struts"
References (12)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H