Smanga Authentication Bypass Vulnerability Allowing Arbitrary Password Reset

Vulnerability

A critical authentication bypass vulnerability has been identified in Smanga version 3.2.7. This vulnerability allows an unauthenticated attacker to reset the password of any user, including administrators, and take over the account by manipulating POST parameters. The issue arises from insecure permission validation in 'check-power.php', which improperly trusts user-supplied input without verifying session authenticity.

Impact

Exploitation of this vulnerability leads to unauthorized account takeover, granting access to all sensitive user data, configuration files, and managed media content. Additionally, with administrative access, there is potential for further exploitation, such as modifying system configurations or executing arbitrary code through file management features.

Reproduction

To reproduce this vulnerability, send a POST request to '/app/php/account/update.php' with the 'userId' parameter set to '1' (the Administrator ID) to bypass the authentication check. Include 'targetUserId' set to '1' to modify the Administrator account, along with a new password. The request can be sent using tools like Burp Suite, Postman, or 'curl', without the need for a valid session or login credentials.

Remediation

The application should be updated to validate user identity against a secure server-side session, rather than trusting client-side input for authorization checks. Recommended changes include modifying the 'check-user-power' function to retrieve the 'userId' from the active session and reject unauthenticated requests.

Added: Feb 20, 2026, 5:52 PM
Updated: Feb 20, 2026, 7:22 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
3.2
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.