Miggo Logo

CVE-2023-34042:
Spring Security's spring-security.xsd file is world writable

5.5

CVSS Score
3.1

Basic Information

EPSS Score
0.12453%
Published
2/6/2024
Updated
11/29/2024
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.springframework.security:spring-security-configmaven>= 6.1.1, <= 6.1.36.1.4
org.springframework.security:spring-security-configmaven>= 6.0.4, <= 6.0.66.0.7
org.springframework.security:spring-security-configmaven>= 5.8.4, <= 5.8.65.8.7
org.springframework.security:spring-security-configmaven>= 5.7.9, <= 5.7.105.7.11

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper file permissions on the spring-security.xsd file in the JAR, not from specific code functions. The root cause was a build process issue where the file was included with world-writable permissions. The commit diff shows the fix involved automating XSD generation and removing manual symlink handling, which addressed the permission issue. No specific code functions (e.g., business logic methods) are directly vulnerable; the problem was in build configuration and packaging steps. Thus, no traditional 'functions' in the codebase can be identified as vulnerable with high confidence.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T** sprin*-s**urity.xs* *il* insi** t** sprin*-s**urity-*on*i* j*r is worl* writ**l* w*i** m**ns t**t i* it w*r* *xtr**t** it *oul* ** writt*n *y *nyon* wit* ****ss to t** *il* syst*m. W*il* t**r* *r* no known *xploits, t*is is *n *x*mpl* o* “*W*-**

Reasoning

T** vuln*r**ility st*ms *rom improp*r *il* p*rmissions on t** `sprin*-s**urity.xs*` *il* in t** J*R, not *rom sp**i*i* *o** *un*tions. T** root **us* w*s * *uil* pro**ss issu* w**r* t** *il* w*s in*lu*** wit* worl*-writ**l* p*rmissions. T** *ommit *i