Submit #670274: yanyutao0402 ChanCMS <=3.3.2 SQL Injectioninfo

Titleyanyutao0402 ChanCMS <=3.3.2 SQL Injection
DescriptionA 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)
Submission10/07/2025 09:07 (9 months ago)
Moderation10/17/2025 09:22 (10 days later)
StatusAccepted
VulDB entry328914 [yanyutao0402 ChanCMS up to 3.3.2 /cms/model/hasUse ID sql injection]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!