Files
CVEs-PoC/2018/CVE-2018-1196.md
T
2024-05-26 14:27:05 +02:00

22 lines
1.2 KiB
Markdown

### [CVE-2018-1196](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1196)
![](https://img.shields.io/static/v1?label=Product&message=Spring%20Boot&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=privilege%20escalation&color=brighgreen)
### Description
Spring Boot supports an embedded launch script that can be used to easily run the application as a systemd or init.d linux service. The script included with Spring Boot 1.5.9 and earlier and 2.0.0.M1 through 2.0.0.M7 is susceptible to a symlink attack which allows the "run_user" to overwrite and take ownership of any file on the same system. In order to instigate the attack, the application must be installed as a service and the "run_user" requires shell access to the server. Spring Boot application that are not installed as a service, or are not using the embedded launch script are not susceptible.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/IkerSaint/VULNAPP-vulnerable-app
- https://github.com/PonusJang/JAVA_WEB_APPLICATION_COLLECTION
- https://github.com/ilmari666/cybsec
- https://github.com/pctF/vulnerable-app