.. / CVE-2018-1271

Exploit for Spring MVC Framework - Local File Inclusion (CVE-2018-1271)

Description:

Spring MVC Framework versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported are vulnerable to local file inclusion because they allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). A malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.

Nuclei Template

View the template here CVE-2018-1271.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2018/CVE-2018-1271.yaml
Copy

References:

https://pivotal.io/security/cve-2018-1271
https://nvd.nist.gov/vuln/detail/CVE-2018-1271
https://medium.com/@knownsec404team/analysis-of-spring-mvc-directory-traversal-vulnerability-cve-2018-1271-b291bdb6be0d
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
https://access.redhat.com/errata/RHSA-2018:1320