CVE-2016-8738 Apache Struts vulnerable to possible DoS attack when using URLValidator

Medium 5.9 Published Updated

Attackers can cause server overload and denial of service by submitting specially crafted URLs to applications using the built-in URLValidator in Apache Struts.

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

What is CVE-2016-8738?

CVE-2016-8738 is a medium-severity denial of service vulnerability in Apache Struts, published on 20 Sep 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Apache Struts 2.5 through 2.5.5, if an application allows entering a URL in a form field and the built-in URLValidator is used, it is possible to prepare a special URL which will be used to overload server process when performing validation of the URL.

Weakness: CWE-20

Which versions are affected by CVE-2016-8738?

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

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

Products include Apache Struts.

How do I fix CVE-2016-8738?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-8738 being exploited?

There is no known exploitation of CVE-2016-8738 in the wild and no public exploit code.

All Apache Struts vulnerabilities

Sources

Also known as GHSA-86vq-8qhc-5rqw.

Is CVE-2016-8738 in your software?

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

Check your SBOMs for free