Miggo Logo

CVE-2017-15053: 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 improper access control in roles.queries.php when handling role operations. The patch shows critical changes to the SQL query logic - adding a filter parameter and modifying the WHERE clause to include both role title filtering and proper IN clause checks for user's authorized roles. This indicates the original code lacked these protections, letting managers manipulate any role ID. The direct connection between the vulnerability description (ID parameter tampering) and the patched SQL logic confirms this function's role in the exploit.

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* rol*s.qu*ri*s.p*p. It is t**n possi*l* *or * m*n***r us*r to mo*i*y *ny *r*itr*ry rol*s wit*in t** *ppli**tion, or **l*t* *ny *r*itr*ry rol*. To *xploit t** vul

Reasoning

T** vuln*r**ility st*ms *rom improp*r ****ss *ontrol in `rol*s.qu*ri*s.p*p` w**n **n*lin* rol* op*r*tions. T** p*t** s*ows *riti**l ***n**s to t** SQL qu*ry lo*i* - ***in* * *ilt*r p*r*m*t*r *n* mo*i*yin* t** W**R* *l*us* to in*lu** *ot* rol* titl* *