CVE-2021-40616: Incorrect Authorization in thinkcmf
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31036%
CWE
Published
6/15/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
thinkcmf/thinkcmf | composer | <= 5.1.7 | 6.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- The vulnerability explicitly references AdminRbacController.php as the vulnerable file
- The attack vector involves modifying user ID 1's password through user management permissions
- CWE-863 indicates missing/incorrect authorization checks
- The edit action for user management would naturally be handled by a controller method like edit()
- The default restriction against modifying ID 1's password suggests missing conditional checks in this function
- High confidence comes from the direct file reference in the GitHub issue and clear authorization context mismatch