SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Apache Struts CVE-2017-5638

CVE-2017-5638 is a critical vulnerability in Apache Struts 2. It affects file uploads that use the Jakarta Multipart parser. The Apache Struts security bulletin S2-045 says a crafted Content-Type value can trigger an exception whose handling allows possible remote code execution 1.

The bulletin lists Struts 2.3.5 through 2.3.31 and 2.5 through 2.5.10 as affected. It lists Struts 2.3.32 and 2.5.10.1 as the fixed releases 1.

The recommended remediation is to upgrade to a fixed version, or to switch to a different multipart parser implementation. The bulletin also describes interim workarounds for deployments that cannot upgrade at once. One is a servlet filter that validates the Content-Type header and rejects requests that do not match multipart/form-data. The other is removing the File Upload Interceptor from the stack, which the bulletin says works only for Struts 2.5.8 to 2.5.10 1.

The bulletin page was last updated on 19 March 2017 and gives no separate publication date. The sources opened here did not cover the vulnerability's link to the Equifax breach 1.

Source · S2-045 (opens in a new tab) · Apache Software Foundation

References

  1. S2-045 (opens in a new tab) · Apache Software Foundation ↩ ↩ ↩ ↩

Research articles

In the news

See what connects to it on the map of ideas →

See also