yanyutao0402 ChanCMS SQL Injection Vulnerability in Article Update Function
Vulnerability
A SQL injection vulnerability has been identified in yanyutao0402 ChanCMS versions through 3.3.2. The issue resides in the article update function, specifically within the '/cms/article/update' endpoint. The vulnerability can be exploited remotely by manipulating the 'cid' parameter, leading to unauthorized SQL command execution. This flaw was discovered after auditing the application's source code, which revealed a lack of input validation in the affected function.
Impact
Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate SQL queries to the database. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.
Reproduction
To reproduce this vulnerability, log into the ChanCMS admin panel using the default credentials 'chancms' for the username and '123456' for the password. Once logged in, send a POST request to the '/cms/article/update' endpoint with a crafted 'cid' parameter that includes SQL injection payloads. The absence of proper input validation will allow the injected SQL code to be executed, demonstrating the vulnerability.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
