CVE-2025-70833
Received Received - Intake
Authentication Bypass in Smanga 3.2.7 Enables Account Takeover

Publication date: 2026-02-20

Last updated on: 2026-02-26

Assigner: MITRE

Description
An Authentication Bypass vulnerability in Smanga 3.2.7 allows an unauthenticated attacker to reset the password of any user (including the administrator) and fully takeover the account by manipulating POST parameters. The issue stems from insecure permission validation in check-power.php.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-20
Last Modified
2026-02-26
Generated
2026-06-16
AI Q&A
2026-02-20
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
lkw199711 smanga 3.2.7
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

[{'type': 'paragraph', 'content': 'CVE-2025-70833 is an Authentication Bypass vulnerability in Smanga version 3.2.7 that allows an unauthenticated attacker to reset the password of any user, including the administrator, by manipulating POST parameters.'}, {'type': 'paragraph', 'content': "The root cause is insecure permission validation in the PHP script check-power.php, where the function check_user_power() retrieves the userId directly from POST data without verifying the user's session or authentication status."}, {'type': 'paragraph', 'content': 'This means the server trusts user-supplied input for permission checks, allowing an attacker to bypass authentication and perform actions as any user.'}, {'type': 'paragraph', 'content': "By sending a crafted POST request to update.php with specific parameters, an attacker can reset the administrator's password and take full control of the account without needing to log in."}] [1]

Impact Analysis

This vulnerability can lead to complete account takeover of any user account, including the administrator.

An attacker gaining administrative access can access sensitive data, configurations, and media content stored within the application.

There is also a potential risk of remote code execution (RCE) due to the elevated privileges obtained through this exploit.

Compliance Impact

I don't know

Detection Guidance

[{'type': 'paragraph', 'content': 'This vulnerability can be detected by monitoring for unauthorized POST requests to the endpoint `/app/php/account/update.php` that include parameters such as `userId`, `targetUserId`, `userName`, and `passWord` without a valid authenticated session.'}, {'type': 'paragraph', 'content': 'A practical detection method is to inspect web server logs or use network monitoring tools to identify POST requests where `userId` and `targetUserId` are set, especially if `userId=1` (administrator) is present without a valid session cookie.'}, {'type': 'paragraph', 'content': 'Example command using grep on web server logs to find suspicious POST requests:'}, {'type': 'list_item', 'content': "grep -i 'POST /app/php/account/update.php' /var/log/apache2/access.log | grep 'userId=1'"}, {'type': 'paragraph', 'content': 'Additionally, you can use tools like curl to test if the endpoint accepts unauthenticated password reset requests by sending a crafted POST request similar to the proof of concept.'}, {'type': 'list_item', 'content': "curl -X POST https://your-smanga-site/app/php/account/update.php -d 'userId=1&targetUserId=1&userName=admin&passWord=hacked123&editUser=1&editMedia=1&mediaLimit=9999'"}] [1]

Mitigation Strategies

Immediate mitigation steps include:

  • Restrict access to the vulnerable PHP scripts (`check-power.php` and `update.php`) to authenticated users only by implementing proper session validation.
  • Do not trust client-supplied POST parameters for authorization; instead, retrieve the user identity from server-side session data.
  • Apply the suggested code fix by modifying the `check_user_power()` function to validate the session before processing any user ID parameters.
  • Immediately change all administrator and critical user passwords to prevent unauthorized access.
  • Monitor logs for suspicious activity and consider temporarily disabling the affected endpoints if possible until a secure patch is applied.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-70833. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart