CVE-2018-1327: Apache Struts - XML External Entity Injection
- Cve: CVE-2018-1327
- Name: Apache Struts - XML External Entity Injection
- 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.
- Impact: Attackers can cause denial of service by overwhelming the server with malicious XML payloads.
- Remediation: Upgrade to Apache Struts 2.5.16 and switch to an optional Jackson XML handler or implement a custom XML handler based on Jackson.
- Vulnerability type: xml_external_entity_injection
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.08811
- Epss percentile: 0.95312
- Assignee: [email protected]
- Published at: 2018-03-27T21:29:00Z
- Age in days: 3164
- Modified at: 2026-06-17T01:51:01Z
- Patch available: yes
- References total: 7
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1327
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html | Patch, Third Party Advisory |
| http://www.securityfocus.com/bid/103516 | Third Party Advisory, VDB Entry |
| http://www.securitytracker.com/id/1040575 | Third Party Advisory, VDB Entry |
| https://cwiki.apache.org/confluence/display/WW/S2-056 | Issue Tracking, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20180330-0001/ | Third Party Advisory |
| https://lists.apache.org/thread.html/r02c2d634fa74209d941c90f9a4cd36a6f12366ca65f9b90446ff2de3%40%3Cissues.struts.apache.org%3E | |
| https://lists.apache.org/thread.html/rf482c101a88445d73cc2e89dbf7f16ae00a4aa79a544a1e72b2326db%40%3Cissues.struts.apache.org%3E |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:struts | >= 2.1.1, <= 2.5.14.1 | no | nvd | /v1/products/apache/struts |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/struts | commit, package | yes | /v1/repositories/apache/struts |
Index
- Repositories: 2
- Repositories high signal: 1
- Checked, none or zero: packages
Exploitation
- Remote: yes
- Exposed hosts: 2127
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports