Apache Struts 0-day
A remote code execution vulnerability in Apache Struts' Jakarta Multipart parser allowed attackers to run arbitrary commands on vulnerable servers. Attackers exploited it to probe systems and download malware.
blog.talosintelligence.com
Published on blog.talosintelligence.com
Talos has observed a new Apache vulnerability that is being actively exploited in the wild. The vulnerability (CVE-2017-5638) is a remote code execution bug that affects the Jakarta Multipart parser in Apache Struts, referenced in this security advisory.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely improper input validation in the Jakarta Multipart parser, allowing crafted Content-Type headers to be interpreted as commands.
Impact
Attackers could execute arbitrary commands, potentially leading to full server compromise and malware installation.
What the attacker needed
Vulnerable Apache Struts version; network access to the server
The fix
Upgrade to Apache Struts 2.3.32 / [redacted] or later.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Apache Struts is a framework for building Java web applications. A bug in how it handled file uploads let attackers run their own commands on the server, like a remote control.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.