Miggo Logo

CVE-2018-1196: Moderate severity vulnerability that affects org.springframework.boot:spring-boot

5.9

CVSS Score
3.0

Basic Information

EPSS Score
0.68612%
Published
10/18/2018
Updated
2/1/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.springframework.boot:spring-bootmaven>= 1.5.0, < 1.5.101.5.10

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability resides in the shell script's service initialization logic rather than Java code. The embedded launch script's functions handling PID file creation (start) and file permission management (prepare_pid_file) perform unsafe file operations that follow symlinks. These would appear in process execution traces when the service starts/stops. The lack of '--' parameter in touch/chown commands and missing symlink checks in these functions directly enable the symlink attack vector described in CVE-2018-1196.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

Sprin* *oot supports *n *m****** l*un** s*ript t**t **n ** us** to **sily run t** *ppli**tion *s * syst*m* or init.* linux s*rvi**. T** s*ript in*lu*** wit* Sprin* *oot *.*.* *n* **rli*r *n* *.*.*.M* t*rou** *.*.*.M* is sus**pti*l* to * symlink *tt**

Reasoning

T** vuln*r**ility r*si**s in t** s**ll s*ript's s*rvi** initi*liz*tion lo*i* r*t**r t**n J*v* *o**. T** *m****** l*un** s*ript's *un*tions **n*lin* PI* *il* *r**tion (st*rt) *n* *il* p*rmission m*n***m*nt (pr*p*r*_pi*_*il*) p*r*orm uns*** *il* op*r*t