CVE-2018-1196

Boot: Symlink privilege escalation attack via launch script

Published Mar 19, 2018 CVSS 3.0 · 5.9 Medium EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-0721 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.
Github GHSA Github GHSA GHSA-xx65-cc7g-9pfp Moderate severity vulnerability that affects org.springframework.boot:spring-boot
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
dell
Published
Updated
Sep 16, 2024, 5:27 PM
Reserved
Dec 6, 2017, 12:00 AM
Status
Modified
Published
Mar 19, 2018, 6:29 PM
Modified
Jun 17, 2026, 1:50 AM
Severity
Moderate
Public date
Jan 30, 2018, 12:00 AM