CVE-2018-1196

Source
https://cve.org/CVERecord?id=CVE-2018-1196
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1196.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-1196
Aliases
Published
2018-03-19T18:29:00.387Z
Modified
2026-07-08T15:09:35.958553Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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 "runuser" 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 "runuser" 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.

References

Affected packages

Git / github.com/spring-projects/spring-boot

Affected ranges

Type
GIT
Repo
https://github.com/spring-projects/spring-boot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
Last affected
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.5.9"
        },
        {
            "introduced": "2.0.0-milestone1"
        },
        {
            "last_affected": "2.0.0-milestone1"
        },
        {
            "introduced": "2.0.0-milestone2"
        },
        {
            "last_affected": "2.0.0-milestone2"
        },
        {
            "introduced": "2.0.0-milestone3"
        },
        {
            "last_affected": "2.0.0-milestone3"
        },
        {
            "introduced": "2.0.0-milestone4"
        },
        {
            "last_affected": "2.0.0-milestone4"
        },
        {
            "introduced": "2.0.0-milestone5"
        },
        {
            "last_affected": "2.0.0-milestone5"
        },
        {
            "introduced": "2.0.0-milestone6"
        },
        {
            "last_affected": "2.0.0-milestone6"
        },
        {
            "introduced": "2.0.0-milestone7"
        },
        {
            "last_affected": "2.0.0-milestone7"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ],
    "cpe": [
        "cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:vmware:spring_boot:2.0.0:milestone1:*:*:*:*:*:*",
        "cpe:2.3:a:vmware:spring_boot:2.0.0:milestone2:*:*:*:*:*:*",
        "cpe:2.3:a:vmware:spring_boot:2.0.0:milestone3:*:*:*:*:*:*",
        "cpe:2.3:a:vmware:spring_boot:2.0.0:milestone4:*:*:*:*:*:*",
        "cpe:2.3:a:vmware:spring_boot:2.0.0:milestone5:*:*:*:*:*:*",
        "cpe:2.3:a:vmware:spring_boot:2.0.0:milestone6:*:*:*:*:*:*",
        "cpe:2.3:a:vmware:spring_boot:2.0.0:milestone7:*:*:*:*:*:*"
    ]
}

Affected versions

2.*
2.0.0-milestone1
2.0.0-milestone2
2.0.0-milestone3
2.0.0-milestone4
2.0.0-milestone5
2.0.0-milestone6
2.0.0-milestone7
v1.*
v1.0.0.RC3
v1.0.0.RC4
v1.5.9.RELEASE
v2.*
v2.0.0.M7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1196.json"