struts: Denial-of-Service attack via crafted XML request using Struts REST plugin
Published Mar 27, 2018
7.5
HIGHCVSS 3.0
EPSS 8.65%
Description
The Apache Struts REST Plugin is using XStream library which is vulnerable and allow perform a DoS attack when using a malicious request with specially crafted XML payload. Upgrade to the Apache Struts version 2.5.16 and switch to an optional Jackson XML handler as described here http://struts.apache.org/plugins/rest/#custom-contenttypehandlers. Another option is to implement a custom XML handler based on the Jackson XML handler from the Apache Struts 2.5.16.
Affected products
-
- Version Apache Struts 2.1.1 to 2.5.14.1StatusaffectedConstraints-
- 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 |
|
No data.
Red Hat Enterprise Linux 5
struts
Not affected
Red Hat Enterprise Linux 8
struts
Not affected
Red Hat JBoss Data Virtualization 6
struts
Not affected
Red Hat JBoss Fuse Integration Service 2
struts
Not affected
Red Hat JBoss Fuse Service Works 6
struts
Not affected
Red Hat JBoss Operations Network 2
struts
Not affected
Red Hat JBoss Operations Network 3
struts
Not affected
Red Hat Satellite 5
struts
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | struts | Not affected | n/a |
| Red Hat Enterprise Linux 8 | struts | Not affected | n/a |
| Red Hat JBoss Data Virtualization 6 | struts | Not affected | n/a |
| Red Hat JBoss Fuse Integration Service 2 | struts | Not affected | n/a |
| Red Hat JBoss Fuse Service Works 6 | struts | Not affected | n/a |
| Red Hat JBoss Operations Network 2 | struts | Not affected | n/a |
| Red Hat JBoss Operations Network 3 | struts | Not affected | n/a |
| Red Hat Satellite 5 | struts | 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.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
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 (25 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 8.65% (0.08647) | 94.96th | v5 (v2026.06.15) |
| Aug 23, 2026 | 8.15% (0.08152) | 94.50th | v5 (v2026.06.15) |
| Jun 15, 2026 | 9.22% (0.09224) | 94.68th | v5 (v2026.06.15) |
| Feb 13, 2026 | 6.00% (0.06004) | 90.48th | v4 (v2025.03.14) |
| Nov 21, 2025 | 3.36% (0.03356) | 86.85th | v4 (v2025.03.14) |
| Nov 18, 2025 | 19.31% (0.19310) | 94.94th | v4 (v2025.03.14) |
| Jun 3, 2025 | 3.36% (0.03356) | 86.79th | v4 (v2025.03.14) |
| Apr 20, 2025 | 6.00% (0.06004) | 90.15th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.36% (0.03356) | 86.19th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.83% (0.04829) | 82.14th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.36% (0.03356) | 86.50th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.05% (0.01048) | 84.67th | v3 (v2023.03.01) |
| Jun 30, 2024 | 1.05% (0.01048) | 84.10th | v3 (v2023.03.01) |
| Oct 21, 2023 | 1.48% (0.01481) | 85.34th | v3 (v2023.03.01) |
| Sep 27, 2023 | 2.08% (0.02085) | 87.76th | v3 (v2023.03.01) |
| Aug 18, 2023 | 2.44% (0.02443) | 88.61th | v3 (v2023.03.01) |
| Mar 21, 2023 | 2.96% (0.02961) | 89.29th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.04% (0.03038) | 89.42th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.65% (0.02649) | 82.23th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.65% (0.02649) | 80.48th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.65% (0.02649) | 61.83th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.83% (0.04831) | 78.17th | v1 |
| Jan 6, 2022 | 4.83% (0.04831) | 77.96th | v1 |
| Sep 1, 2021 | 4.83% (0.04831) | 87.44th | v1 |
| Apr 14, 2021 | 4.83% (0.04831) | 0.00th | v1 |
References (19)
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html x_refsource_CONFIRMPatchThird Party Advisory
- http://www.securityfocus.com/bid/103516 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1040575 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-1327 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1561007 Issue Tracking
- https://cwiki.apache.org/confluence/display/WW/S2-056 x_refsource_MISCIssue TrackingThird Party Advisory
- https://github.com/advisories/GHSA-38cr-2ph5-frr9 Advisory
- https://github.com/apache/struts/commit/4260bee634cb606be6071bce2383fddb510608aa
- https://github.com/apache/struts/commit/67ecf3a21608e20449bcb7895b22204b400fecd4
- https://github.com/apache/struts/commit/9260720568cee9e868d2899228eceed0c3359323
- https://lists.apache.org/thread.html/r02c2d634fa74209d941c90f9a4cd36a6f12366ca65f9b90446ff2de3%40%3Cissues.struts.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/r02c2d634fa74209d941c90f9a4cd36a6f12366ca65f9b90446ff2de3@%3Cissues.struts.apache.org%3E
- https://lists.apache.org/thread.html/rf482c101a88445d73cc2e89dbf7f16ae00a4aa79a544a1e72b2326db%40%3Cissues.struts.apache.org%3E mailing-listx_refsource_MLIST
- https://lists.apache.org/thread.html/rf482c101a88445d73cc2e89dbf7f16ae00a4aa79a544a1e72b2326db@%3Cissues.struts.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2018-1327
- https://security.netapp.com/advisory/ntap-20180330-0001/ x_refsource_CONFIRMThird Party Advisory
- https://web.archive.org/web/20200227124859/http://www.securityfocus.com/bid/103516
- https://web.archive.org/web/20200923124543/http://www.securitytracker.com/id/1040575
- https://www.cve.org/CVERecord?id=CVE-2018-1327
Change history (0)
No recorded changes yet.