Miggo Logo

CVE-2015-3156: Openstack DBaaS (Trove) Improper Link Resolution Before File Access

5.5

CVSS Score
3.0

Basic Information

EPSS Score
0.22229%
Published
5/17/2022
Updated
5/14/2024
KEV Status
No
Technology
TechnologyPython

Technical Details

CVSS Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
trovepip< 4.0.0a04.0.0a0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from multiple functions across Trove's datastore implementations using predictable temporary file paths without proper atomicity checks (O_EXCL). This allows local attackers to create symlinks at expected temporary file locations, leading to configuration/file overwrites. The commit 6177498 explicitly fixes this pattern in Cassandra's write_config by introducing secure mkstemp usage, confirming the vulnerability pattern. The CVE description and GHSA advisory explicitly list all these functions as vulnerable entry points with the same flaw pattern. High confidence comes from: 1) Explicit listing in vulnerability reports, 2) Commit showing insecure pattern remediation in one component, 3) Consistent CWE-59 pattern across all listed functions.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T** `_writ*_*on*i*` *un*tion in `trov*/*u*st***nt/**t*stor*/*xp*rim*nt*l/mon*o**/s*rvi**.py`, `r*s*t_*on*i*ur*tion` *un*tion in `trov*/*u*st***nt/**t*stor*/*xp*rim*nt*l/post*r*sql/s*rvi**/*on*i*.py`, `writ*_*on*i*` *un*tion in `trov*/*u*st***nt/**t*s

Reasoning

T** vuln*r**ility st*ms *rom multipl* *un*tions **ross Trov*'s **t*stor* impl*m*nt*tions usin* pr**i*t**l* t*mpor*ry *il* p*t*s wit*out prop*r *tomi*ity ****ks (O_*X*L). T*is *llows lo**l *tt**k*rs to *r**t* symlinks *t *xp**t** t*mpor*ry *il* lo**ti