CVE-2018-1327 json
Apache Struts REST Plugin can potentially allow a DoS attack
published 8y ago modified 4mo ago also GHSA-38cr-2ph5-frr9 , EUVD-2018-0486
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 8.6%
- EPSS 8.6% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.struts:struts2-rest-plugin 2.5.16
Is CVE-2018-1327 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-1327 updated cvss 7.5
struts: Denial-of-Service attack via crafted XML request using Struts REST plugin
-
Red Hat Enterprise Linux 5 struts Red Hat Enterprise Linux 8 struts Red Hat JBoss Data Virtualization 6 struts struts Red Hat JBoss Fuse Integration Service 2 struts struts Red Hat JBoss Fuse Service Works 6 struts struts Red Hat JBoss Operations Network 2 struts strutsnot affected: vulnerable code not present
+2 more productsfewer
Red Hat JBoss Operations Network 3 struts struts Red Hat Satellite 5 struts
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
8.65% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.struts:struts2-rest-plugin | >=2.1.1, <2.5.16 |
2.5.16 |
Affected products
- Apache Software Foundation Apache Struts
Classification
- Weakness
-
- CWE-91 XML Injection
References
-
oracle.com
/technetwork/security-advisory/cpujul2018-4258247.html
web, patch, third-party-advisory
-
github.com
/apache/struts/commit/4260bee634cb606be6071bce2383fddb510608aa
web
-
github.com
/apache/struts/commit/67ecf3a21608e20449bcb7895b22204b400fecd4
web
-
github.com
/apache/struts/commit/9260720568cee9e868d2899228eceed0c3359323
web
-
security.netapp.com
/advisory/ntap-20180330-0001/
third-party-advisory
-
securitytracker.com
/id/1040575
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/103516
vdb-entry, third-party-advisory
-
cwiki.apache.org
/confluence/display/WW/S2-056
web, issue-tracking, third-party-advisory
-
lists.apache.org
/thread.html/r02c2d634fa74209d941c90f9a4cd36a6f12366ca65f9b90446ff2de3%40%3Cissues.struts.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rf482c101a88445d73cc2e89dbf7f16ae00a4aa79a544a1e72b2326db%40%3Cissues.struts.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2018-1327
advisory
-
github.com
/apache/struts
package
-
lists.apache.org
/thread.html/r02c2d634fa74209d941c90f9a4cd36a6f12366ca65f9b90446ff2de3@%3Cissues.struts.apache.org%3E
web
-
lists.apache.org
/thread.html/rf482c101a88445d73cc2e89dbf7f16ae00a4aa79a544a1e72b2326db@%3Cissues.struts.apache.org%3E
web
-
security.netapp.com
/advisory/ntap-20180330-0001
web
-
web.archive.org
/web/20200227124859/http://www.securityfocus.com/bid/103516
web
-
web.archive.org
/web/20200923124543/http://www.securitytracker.com/id/1040575
web
Sources
- CVE List CVE-2018-1327
- GitHub Advisory GHSA-38cr-2ph5-frr9
- NVD CVE-2018-1327
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.