struts2: Using specific results and namespaces can result in a remote code execution
Published Aug 22, 2018 ·Due May 3, 2022
8.1
HIGHCVSS 3.1
EPSS 99.99%
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.
Affected products
-
- Version 2.3 to 2.3.34StatusaffectedConstraints-
- Version 2.5 to 2.5.16StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache Struts | n/a |
|
Configuration 1
Configuration 2
- ≥ 7.3
- ≥ 9.5
- n/a
- n/a
- n/a
Configuration 3
- < 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.8191
No data.
Red Hat JBoss Fuse Service Works 6
struts2-core
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat JBoss Fuse Service Works 6 | struts2-core | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
A previous statement by Red Hat related to this CVE, prior to August 2019, said that Apache Struts 2 is not included in any Red Hat products. This earlier statement was incorrect. While Struts 2 is not actively compiled, shipped, used, or enabled in any Red Hat provided final products, and does not cause any vulnerability in the product, struts2-core jars have been included in some products' source code packages. The inclusion was part of an import of the Google Guice repository, which includes struts2-core. Customers that build artefacts from our source code could be at risk. Red Hat will remove these artefacts from source code in future releases. The products that included the Struts 2 artefacts in their source jars: Fuse Service Works 6.0.0 Single Sign On 7.3.0+ If you have used the source package from one of these products to build artefacts on your system, you should do the following to remove potentially affected jars: 1. Run 'find . -name struts2*.jar' under the source location 2. Remove any files found This will not affect the product, as the jar is included with the source of google-guice, but no functionality requiring struts2 is implemented.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:C/I:C/A:C
Date Added
Nov 3, 2021
Patch Due
May 3, 2022
Required Action
Apply updates per vendor instructions.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
ActiveAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Feb 6, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 99.99% (0.99991) | 99.99th | v5 (v2026.06.15) |
| Jun 15, 2026 | 99.99% (0.99993) | 99.99th | v5 (v2026.06.15) |
| Mar 17, 2025 | 94.43% (0.94429) | 99.98th | v4 (v2025.03.14) |
| Dec 12, 2024 | 97.51% (0.97511) | 99.99th | v3 (v2023.03.01) |
| Jul 1, 2024 | 97.53% (0.97527) | 99.99th | v3 (v2023.03.01) |
| Jun 6, 2024 | 97.53% (0.97533) | 99.99th | v3 (v2023.03.01) |
| Mar 17, 2024 | 97.52% (0.97517) | 99.98th | v3 (v2023.03.01) |
| Feb 3, 2024 | 97.53% (0.97529) | 99.99th | v3 (v2023.03.01) |
| Jan 13, 2024 | 97.50% (0.97505) | 99.98th | v3 (v2023.03.01) |
| Dec 1, 2023 | 97.55% (0.97550) | 100.00th | v3 (v2023.03.01) |
| Aug 16, 2023 | 97.56% (0.97557) | 99.99th | v3 (v2023.03.01) |
| Jul 8, 2023 | 97.56% (0.97563) | 100.00th | v3 (v2023.03.01) |
| Mar 7, 2023 | 97.56% (0.97556) | 99.99th | v3 (v2023.03.01) |
| Mar 6, 2023 | 95.70% (0.95700) | 99.98th | v2 (v2022.01.01) |
| Feb 4, 2022 | 95.70% (0.95700) | 99.98th | v2 (v2022.01.01) |
| Feb 3, 2022 | 89.92% (0.89921) | 99.92th | v1 |
| Sep 1, 2021 | 89.92% (0.89921) | 99.97th | v1 |
| Apr 14, 2021 | 89.92% (0.89921) | 0.00th | v1 |
References (31)
- http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html Third Party AdvisoryVDB Entry
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txt Broken LinkMailing ListThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.html PatchThird Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html PatchThird Party Advisory
- http://www.securityfocus.com/bid/105125 vdb-entryBroken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041547 vdb-entryBroken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041888 vdb-entryBroken LinkThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-11776 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1620019 Issue Tracking
- https://cwiki.apache.org/confluence/display/WW/S2-057 Issue TrackingThird Party Advisory
- https://github.com/advisories/GHSA-cr6j-3jp9-rw65 Advisory
- https://github.com/apache/struts/commit/6e87474f9ad0549f07dd2c37d50a9ccd0977c6e
- https://github.com/hook-s3c/CVE-2018-11776-Python-PoC ExploitThird Party Advisory
- https://lgtm.com/blog/apache_struts_CVE-2018-11776 ExploitThird Party Advisory
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E mailing-listMailing List
- https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c@%3Cannounce.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-11776
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012 Third Party Advisory
- https://security.netapp.com/advisory/ntap-20180822-0001 Third Party Advisory
- https://security.netapp.com/advisory/ntap-20181018-0002 Third Party Advisory
- https://web.archive.org/web/20180822160726/http://www.securityfocus.com/bid/105125
- https://web.archive.org/web/20200807025819/http://www.securitytracker.com/id/1041888
- https://web.archive.org/web/20201208145803/https://securitytracker.com/id/1041547
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-11776 government-resourceUS Government Resource
- https://www.cve.org/CVERecord?id=CVE-2018-11776
- https://www.exploit-db.com/exploits/45260 exploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/45262 exploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/45367 exploitThird Party AdvisoryVDB Entry
- https://www.oracle.com/security-alerts/cpujul2020.html Third Party Advisory
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html PatchThird Party Advisory
Change history (0)
No recorded changes yet.