Miggo Logo

CVE-2022-29405: Missing Authorization in Apache Archiva

6.5

CVSS Score
3.1

Basic Information

EPSS Score
0.7983%
Published
5/26/2022
Updated
1/27/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.archiva:archivamaven< 2.2.82.2.8

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing authorization checks in user password reset functionality. Based on Apache Archiva's architecture and Redback integration, the UserService.resetPassword and UserManager.updateUser are prime candidates. These functions would handle password changes and user updates, respectively. The absence of explicit authorization checks in these methods (before the patch) allowed any authenticated user to reset passwords. The medium confidence reflects inference from the vulnerability description and typical code patterns, as the exact patch details are unavailable.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

In *p**** *r**iv*, *ny r**ist*r** us*r **n r*s*t p*sswor* *or *ny us*rs. T*is is *ix** in *r**iv* *.*.*.

Reasoning

T** vuln*r**ility st*ms *rom missin* *ut*oriz*tion ****ks in us*r p*sswor* r*s*t *un*tion*lity. **s** on *p**** *r**iv*'s *r**it**tur* *n* R*****k int**r*tion, t** `Us*rS*rvi**.r*s*tP*sswor*` *n* `Us*rM*n***r.up**t*Us*r` *r* prim* **n*i**t*s. T**s* *