Files
CVEs-PoC/2018/CVE-2018-1327.md
T
2024-06-18 02:51:15 +02:00

24 lines
1.2 KiB
Markdown

### [CVE-2018-1327](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1327)
![](https://img.shields.io/static/v1?label=Product&message=Apache%20Struts&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=DoS%20attack&color=brighgreen)
### 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.
### POC
#### Reference
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/IkerSaint/VULNAPP-vulnerable-app
- https://github.com/SexyBeast233/SecBooks
- https://github.com/khodges42/Etrata
- https://github.com/pctF/vulnerable-app
- https://github.com/wiseeyesent/cves
- https://github.com/woods-sega/woodswiki