WCMS 11
cpe:2.3:a:wcms:wcms:*:*:*:*:*:*:*
- 11
A critical SQL injection vulnerability has been identified in WCMS version 11. The issue arises in the 'app/controllers/AnonymousController.php' file, specifically within the 'setLogin' function. The vulnerability is triggered by manipulating the 'mobile_phone' parameter in the 'anonymous/setlogin' interface, allowing remote attackers to inject malicious SQL statements. This could lead to severe consequences such as unauthorized access to the website and theft of sensitive data. Other parameters may also be vulnerable.
Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.
To reproduce this vulnerability, send a POST request to 'http://wcms.com/index.php?anonymous/setlogin' with the 'mobile_phone' parameter containing a crafted value that includes SQL injection payloads. The request should include a valid session cookie.
It is recommended to filter the 'mobile_phone' parameter value thoroughly and to use prepared statements for SQL queries to prevent direct concatenation of parameters into SQL commands.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.