yanyutao0402 ChanCMS Server-Side Request Forgery Vulnerability

Vulnerability

A critical server-side request forgery (SSRF) vulnerability has been identified in yanyutao0402 ChanCMS versions through 3.1.2. The issue arises in the 'getPages' function within the file '/cms/collect/getPages', where the 'targetUrl' parameter is user-controllable and lacks proper security validation. This vulnerability allows remote attackers to access internal hosts and services.

Impact

Exploitation of this vulnerability could lead to unauthorized access to internal services and resources, potentially allowing attackers to manipulate or exfiltrate sensitive information.

Reproduction

To reproduce this vulnerability, send a POST request to '/cms/collect/getPages' with a payload that includes a malicious 'targetUrl' pointing to an internal resource. The absence of security checks on the 'targetUrl' parameter will enable the SSRF attack, allowing access to restricted internal services.

Remediation

Upgrade to ChanCMS version 3.1.3, which addresses the SSRF vulnerability. The updated version is available for download on the ChanCMS Gitee release page.

Added: Jul 27, 2025, 10:19 AM
Updated: Jul 27, 2025, 10:19 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.0
exploitability
8.7
remediation
7.7
relevance
0.3
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.