Skip to content
Server Security Center
KEVhigh8.1

CVE-2018-11776: Apache Struts Remote Code Execution

Apache Struts · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.

CVSS v3.1 (CISA ADP)
8.1
high
EPSS (exploit probability, 30 days)
>99.9%
among the highest 0.1% of all CVEs
Added to CISA KEV
2021-11-03
US federal due date 2022-05-03
Automatable (CISA SSVC)
no
technical impact: total

CVE-2018-11776 explained

CVE-2018-11776 is a remote code execution vulnerability in Apache Struts, caused by improper input validation. It applies when alwaysSelectFullNamespace is enabled and certain namespace configurations are used for results or url tags. CISA lists it as known to be exploited, so affected applications need prompt attention.

Impact

A remote, unauthenticated attacker may execute code on the server without user interaction. Exploitation requires specific configuration conditions, which raises attack complexity. CISA rates the technical impact as total, meaning full control of the affected component. CISA rates it as not automatable. Successful exploitation can compromise confidentiality, integrity and availability. Attackers are known to use this vulnerability. Ransomware use is listed as unknown.

Who is affected

The CVE record describes the affected versions of Apache Software Foundation Apache Struts in free text: 2.3 to 2.3.34 and 2.5 to 2.5.16. The CVE record names no fixed version. Check the Apache vendor advisory for the versions that contain the fix.

Written with AI from the data on this page and checked against it automatically.

Official description

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.

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Apache Software Foundation Apache Struts
    Affected
    • 2.3 to 2.3.34
    • 2.5 to 2.5.16
    Fixed in
    not stated

    Version statement as published by the CNA (free text).

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51…
  • CISA's deadline for US federal agencies: 2022-05-03 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Identify all applications that use Apache Struts in the 2.3 to 2.3.34 or 2.5 to 2.5.16 range.
  2. Apply updates per vendor instructions, as CISA requires, using the fixed version named in the Apache advisory.
  3. Review configurations that enable alwaysSelectFullNamespace, including through plugins such as the Convention Plugin.
  4. Check results and url tags whose parent packages have no namespace or a wildcard namespace.
  5. Restrict network exposure of affected applications until they are updated.
  6. Check affected servers for signs of compromise, since attackers are known to exploit this vulnerability.

The CVE record names no fixed version. Follow the Apache vendor advisory to find the version that contains the fix. CISA's required action is to apply updates per vendor instructions. Until you have updated, review the alwaysSelectFullNamespace setting and namespace configurations, limit network exposure and monitor for signs of compromise.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-20

Questions about CVE-2018-11776

Is CVE-2018-11776 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03. The due date for US federal agencies was 2022-05-03. Ransomware use is listed as unknown.
Is every Struts application in the affected range vulnerable?
According to the description, the risk arises when alwaysSelectFullNamespace is true and results or url tags are used without a namespace, value or action while the parent package has no namespace or a wildcard namespace. Updating is still the required action.
Does an attacker need credentials?
No. The CVSS vector shows network access with no privileges and no user interaction required. Attack complexity is high because specific configuration conditions must be met.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.