BoyunCMS Server-Side Request Forgery Vulnerability in Curl Component

Vulnerability

A critical server-side request forgery (SSRF) vulnerability has been identified in BoyunCMS versions through 1.4.20. The issue arises in the file '/application/pay/controller/Index.php', where user-supplied URLs are sent to the curl component without proper validation. This flaw allows remote attackers to make requests to internal or arbitrary network resources, potentially accessing sensitive internal services.

Impact

Exploitation of this vulnerability allows for server-side request forgery, where an attacker can make the server send requests to internal resources or external services, bypassing network restrictions and potentially accessing sensitive information or services.

Reproduction

To reproduce this vulnerability, send a request to the '/pay/index/http_curl' endpoint with a URL parameter that includes a 'gopher' URL pointing to a listener on an internal or external server. The server will respond with the data retrieved through the SSRF vulnerability, demonstrating access to the specified resource.

Added: Jul 7, 2025, 2:17 AM
Updated: Jul 7, 2025, 2:17 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
7.6
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

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