CVE-2018-11776
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedApache 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceApache Struts versions 2.3.x through 2.3.34 and 2.5.x through 2.5.16 allow Remote Code Execution when alwaysSelectFullNamespace is set to true (via user configuration or Convention Plugin). Exploitation occurs when results or URL tags are used without explicit namespace attributes while their parent package has no or wildcard namespace, allowing attackers to inject malicious namespace values that lead to arbitrary OGNL expression execution.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 2.0.4, < 2.3.35>= 2.5.0, < 2.5.17>= 7.3>= 9.5all versionsall versionsall versions< 12.5.0= 13.3.0.0= 13.4.0.0<= 3.4.9.4237>= 4.0.0, <= 4.0.6.5281>= 8.0.0, <= 8.0.2.8191CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Apache Struts versionLocate struts2-core.jar in your application classpath or WEB-INF/lib directory. Run: jar -xf struts2-core.jar META-INF/MANIFEST.MF && cat META-INF/MANIFEST.MF to read the Implementation-Version. Or check your build/pom.xml dependencies for struts2-core version.Affected if Version is >= 2.0.4 and < 2.3.35, or >= 2.5.0 and < 2.5.17.
-
Verify alwaysSelectFullNamespace settingSearch your struts.xml configuration file (typically in WEB-INF/classes/) for: <constant name="struts.enable.SlashesInActionNames" value="true"/> followed by <constant name="struts.mapper.alwaysSelectFullNamespace" value="true"/>. Also check struts.properties for these same constants.Affected if alwaysSelectFullNamespace is explicitly set to true.
-
Check for Convention Plugin usageExamine your pom.xml or lib folder for struts2-convention-plugin.jar. If present, the Convention Plugin may enable alwaysSelectFullNamespace behavior by default. Search for @Action annotations in your action classes.Affected if Convention Plugin is deployed and results/URL tags are used.
-
Inspect namespace definitions in struts.xmlReview all <package> definitions in struts.xml. Check whether packages define explicit namespace attributes (e.g., namespace="/admin") or use wildcards (namespace="*"). Look for parent packages that lack namespace constraints.Affected if Packages use no namespace or wildcard namespace with results/URL tags present.
-
Identify exposed results and URL tagsSearch JSP files for <s:result> and <s:url> tags within the application. These tags are vulnerable when used in configurations matching the affected condition. grep -r "<s:result" and grep -r "<s:url" in your webapp directory.Affected if Results or URL tags exist in the application and the namespace conditions above are met.
Your environment is affected if you run Apache Struts within the vulnerable version range AND have alwaysSelectFullNamespace enabled (either explicitly or via Convention Plugin) while using results or URL tags without proper namespace constraints in packages with no or wildcard namespaces.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.3.352.5.1712.5.0
Upgrade Apache Struts to version 2.3.35 or 2.5.17 or later. If upgrade is not immediately possible, verify that alwaysSelectFullNamespace is not enabled and that all packages/results define explicit namespaces without wildcards.
Struts 2.3.35 or later for 2.3.x branch; Struts 2.5.17 or later for 2.5.x branch
- 1. Identify all applications using Apache Struts libraries in the environment
- 2. For Struts 2.3.x branch: upgrade to Struts 2.3.35 or later
- 3. For Struts 2.5.x branch: upgrade to Struts 2.5.17 or later
- 4. Verify the upgrade by checking the Struts version in deployed libraries
- 5. Test the application thoroughly after upgrade to ensure functionality is intact
- 6. For other affected products (NetApp, Oracle, Aruba), apply vendor-specific patches as listed in their security advisories
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,616.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2018-11776 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- www.oracle.com
- packetstormsecurity.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- packetstormsecurity.com
- www.arubanetworks.com
- www.securityfocus.com
- www.securitytracker.com
- www.securitytracker.com
- cwiki.apache.org
- github.com
- lgtm.com
- psirt.global.sonicwall.com
- security.netapp.com
- security.netapp.com
- www.exploit-db.com
- www.exploit-db.com
- www.exploit-db.com
- www.oracle.com
- lists.apache.org
- www.cisa.gov
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2018-11776 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data