CVE-2011-3923 Struts ParameterInterceptor vulnerability allows remote command execution

Critical 9.8 Published Updated

Remote attackers can bypass security protections in Apache Struts to execute arbitrary commands on the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2011-3923?

CVE-2011-3923 is a critical command injection vulnerability in Apache Struts, published on 1 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Struts before 2.3.1.2 allows remote attackers to bypass security protections in the ParameterInterceptor class and execute arbitrary commands.

Weakness: CWE-732

Which versions are affected by CVE-2011-3923?

2 open source packages ship an affected version, including org.apache.struts:struts2-core. It affects 2 products.

PackageAffectedFixed in
org.apache.struts:struts2-core MavenFrom 2.0.02.3.1.2
org.apache.struts:struts2-core MavenFrom 2.0.02.3.1.2

Products include Apache Struts, Redhat Jboss Enterprise Web Server.

How do I fix CVE-2011-3923?

Upgrade org.apache.struts:struts2-core to 2.3.1.2 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2011-3923 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2011-3923 exists.

Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.

All Apache Struts vulnerabilities

Sources

Also known as GHSA-j68f-8h6p-9h5q.

Is CVE-2011-3923 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free