CVE-2018-1196 - Improper Link Resolution Before File Access ('Link Following')

Severity

43%

Complexity

86%

Confidentiality

48%

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.

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.

CVSS 3.0 Base Score 5.9. CVSS Attack Vector: network. CVSS Attack Complexity: high. CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).

CVSS 2.0 Base Score 4.3. CVSS Attack Vector: network. CVSS Attack Complexity: medium. CVSS Vector: (AV:N/AC:M/Au:N/C:N/I:P/A:N).

Overview

Type

Pivotal Software Spring Boot 2.0.0

First reported 6 years ago

2018-03-19 18:29:00

Last updated 6 years ago

2018-04-20 15:57:00

Affected Software

Pivotal Software Spring Boot 2.0.0 M1

2.0.0

Pivotal Software Spring Boot 2.0.0 M2

2.0.0

Pivotal Software Spring Boot 2.0.0 M3

2.0.0

Pivotal Software Spring Boot 2.0.0 M4

2.0.0

Pivotal Software Spring Boot 2.0.0 M5

2.0.0

Pivotal Software Spring Boot 2.0.0 M6

2.0.0

Pivotal Software Spring Boot 2.0.0 M7

2.0.0

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.