| Title | yanyutao0402 ChanCMS <=3.3.2 SQL Injection |
|---|
| Description | A vulnerability was found in yanyutao0402 ChanCMS up to 3.3.2. After downloading the source code and deploying it directly, an attacker can log in to the backend at `/public/admin/index.html` using the weak default credentials `chancms/123456`.
Code auditing revealed that the `hasUse` function in `/cms/model/hasUse?id=1` does not validate the `id` parameter.
By manipulating the `id` argument, an attacker can perform SQL injection.
This vulnerability can be exploited remotely. It is recommended to fix the parameter validation issue or upgrade to a secure version.
|
|---|
| Source | ⚠️ https://github.com/NarcherAlter/Security_Note/blob/main/Vulnerability_Discovery/ChanCMSv3.3.2.md#222 |
|---|
| User | Narcher (UID 91355) |
|---|
| Submission | 10/07/2025 09:07 (9 months ago) |
|---|
| Moderation | 10/17/2025 09:22 (10 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 328914 [yanyutao0402 ChanCMS up to 3.3.2 /cms/model/hasUse ID sql injection] |
|---|
| Points | 20 |
|---|