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
References
https://pivotal.io/security/cve-2018-1196
Related Vulnerabilities
CVE-2017-7660 Vulnerability in maven package org.apache.solr:solr-core
CVE-2017-5635 Vulnerability in maven package org.apache.nifi:nifi-web-security
CVE-2023-49276 Vulnerability in npm package uptime-kuma
CVE-2016-0710 Vulnerability in maven package org.apache.portals.jetspeed-2:jetspeed-security
CVE-2020-15087 Vulnerability in maven package io.prestosql:presto-main