Miggo Logo

CVE-2017-15052: TeamPass Improper Privilege Management

4.9

CVSS Score
3.0

Basic Information

EPSS Score
0.46534%
Published
5/13/2022
Updated
4/24/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
nilsteampassnet/teampasscomposer< 2.1.27.92.1.27.9

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing access control checks in user management operations. The commit diff shows critical additions of privilege checks (e.g., verifying admin status, isAdministratedByRole, and user_can_manage_all_users) in multiple case handlers like 'delete_user' and 'admin'. These functions previously executed destructive operations based solely on user-provided IDs without validating the requester's permissions over the target user. The patch explicitly adds these checks, confirming these were the vulnerable points.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T**mP*ss ***or* *.*.**.* *o*s not prop*rly *n*or** m*n***r ****ss *ontrol w**n r*qu*stin* us*rs.qu*ri*s.p*p. It is t**n possi*l* *or * m*n***r us*r to **l*t* *n *r*itr*ry us*r (in*lu*in* **min), or mo*i*y *ttri*ut*s o* *ny *r*itr*ry us*r *x**pt **min

Reasoning

T** vuln*r**ility st*ms *rom missin* ****ss *ontrol ****ks in us*r m*n***m*nt op*r*tions. T** *ommit *i** s*ows *riti**l ***itions o* privil*** ****ks (*.*., v*ri*yin* **min st*tus, is**ministr*t***yRol*, *n* us*r_**n_m*n***_*ll_us*rs) in multipl* **