CVE-2018-11776: Apache Struts Remote Code Execution Vulnerability

Published Aug 22, 2018
·
Updated

Apache Struts contains a Remote Code Execution when using results with no namespace and it's upper actions have no or wildcard namespace. The same flaw exists when using a url tag with no value, action set, and it's upper actions have no or wildcard namespace.

Other sources

Apache Struts contains a vulnerability that allows for remote code execution under two circumstances. One, where the alwaysSelectFullNamespace option is true and the value isn't set for a result defined in underlying configurations and in same time, its upper package configuration have no or wildcard namespace. Or, using URL tag which doesn't have value and action set and in same time, its upper package configuration have no or wildcard namespace.

CISA

Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace.

Affected Software

18 affected componentsFixes available
maven/org.apache.struts:struts2-core>=2.5<=2.5.16
2.5.17
maven/org.apache.struts:struts2-core>=2.0.4<=2.3.34
2.3.35
Apache struts
Apache struts>=2.3.1<=2.3.34
Apache struts>=2.5.0<=2.5.16
Apache struts>=2.0.4<2.3.35
Apache struts>=2.5.0<2.5.17
NetApp Active Iq Unified Manager Windows>=7.3
NetApp Active Iq Unified Manager Vmware Vsphere>=9.5
NetApp OnCommand Insight
NetApp OnCommand Workflow Automation
NetApp Snapcenter
Oracle Communications Policy Management<12.5.0
Oracle Enterprise Manager Base Platform=13.3.0.0
Oracle Enterprise Manager Base Platform=13.4.0.0
Oracle MySQL Enterprise Monitor<=3.4.9.4237
Oracle MySQL Enterprise Monitor>=4.0.0<=4.0.6.5281
Oracle MySQL Enterprise Monitor>=8.0.0<=8.0.2.8191

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.struts:struts2-core to a version that resolves this vulnerability.

    Fixed in 2.5.17
  2. Upgrade

    Upgrade maven/org.apache.struts:struts2-core to a version that resolves this vulnerability.

    Fixed in 2.3.35
  3. Configuration

    Set the alwaysSelectFullNamespace configuration option to false to avoid the vulnerable code path that can lead to remote code execution when results or url tags rely on no namespace and upper packages use no or wildcard namespaces.

    Apache Struts alwaysSelectFullNamespace = false
  4. Configuration

    Ensure results, actions, and url tags explicitly set a non-wildcard namespace (do not use no namespace or wildcard namespaces) so the vulnerable resolution behavior does not occur.

    Apache Struts (results/actions/url tag) namespace = explicit non-wildcard namespace

Event History

Aug 22, 2018
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionWeakness
Data Sourced
via NVD·01:29 PM
RemedyDescriptionSeverityAffected Software
Oct 18, 2018
Advisory Published
via GitHub·07:24 PM
Nov 3, 2021
Known Exploited
via CISA·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-11776?

CVE-2018-11776 is a vulnerability in Apache Struts that allows for remote code execution.

2

What versions of Apache Struts are affected by CVE-2018-11776?

Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 are affected by CVE-2018-11776.

3

What is the severity of CVE-2018-11776?

CVE-2018-11776 has a severity rating of 8.1 (Critical).

4

How can I fix CVE-2018-11776?

To fix CVE-2018-11776, upgrade to Apache Struts version 2.5.17 or 2.3.35, which contain the necessary security patches.

5

Where can I find more information about CVE-2018-11776?

You can find more information about CVE-2018-11776 on the NIST NVD website, the Apache Struts Confluence page, and the GitHub advisory page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203