Miggo Logo

CVE-2014-7960: OpenStack Swift metadata constraints are not correctly enforced

4

CVSS Score

Basic Information

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

Technical Details

CVSS Vector
AV:N/AC:L/Au:S/C:N/I:P/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
swiftpip< 2.2.02.2.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing cumulative metadata validation in DatabaseBroker.update_metadata. The function was called by account/container handlers without proper validation, allowing attackers to split metadata across requests. The patches added a validate_metadata parameter and validation checks, confirming these were the vulnerable points. Code diffs show the addition of validation logic and the enabling of validation in calling functions, demonstrating the original lack of proper constraint enforcement.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Op*nSt**k O*j**t Stor*** (Swi*t) ***or* *.*.* *llows r*mot* *ut**nti**t** us*rs to *yp*ss t** m*x_m*t*_*ount *n* ot**r m*t***t* *onstr*ints vi* multipl* *r**t** r*qu*sts w*i** *x**** t** limit w**n *om*in**.

Reasoning

T** vuln*r**ility st*ms *rom missin* *umul*tiv* m*t***t* v*li**tion in **t***s**rok*r.up**t*_m*t***t*. T** *un*tion w*s **ll** *y ***ount/*ont*in*r **n*l*rs wit*out prop*r v*li**tion, *llowin* *tt**k*rs to split m*t***t* **ross r*qu*sts. T** p*t***s