Miggo Logo

CVE-2021-39235: Incorrect permissions in Apache Ozone

6.5

CVSS Score
3.1

Basic Information

EPSS Score
0.60519%
Published
11/23/2021
Updated
11/14/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.apache.ozone:ozone-mainmaven< 1.2.01.2.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing access mode validation in block token verification. The primary suspect is the BlockTokenVerifier class which handles token validation - if it doesn't check the access mode parameter, read tokens would be accepted for write operations. The OzoneManagerProtocolServerSideTranslatorPB is included as it handles client RPCs and might propagate the missing validation. The confidence is high for the core verification function based on the vulnerability pattern described, and medium for the RPC handler due to indirect involvement.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

In *p**** Ozon* ***or* *.*.*, Ozon* **t*no** *o*sn't ****k t** ****ss mo** p*r*m*t*r o* t** *lo*k tok*n. *ut**nti**t** us*rs wit* v*li* R*** *lo*k tok*n **n *o *ny writ* op*r*tion on t** s*m* *lo*k.

Reasoning

T** vuln*r**ility st*ms *rom missin* ****ss mo** v*li**tion in *lo*k tok*n v*ri*i**tion. T** prim*ry susp**t is t** `*lo*kTok*nV*ri*i*r` *l*ss w*i** **n*l*s tok*n v*li**tion - i* it *o*sn't ****k t** ****ss mo** p*r*m*t*r, r*** tok*ns woul* ** ****pt