Wuzhicms Server-Side Request Forgery Vulnerability in Config.php

Vulnerability

A server-side request forgery (SSRF) vulnerability has been identified in Wuzhicms version 4.1.0. The issue arises in the 'test' function of 'coreframe/app/search/admin/config.php', where the 'sphinxhost' and 'sphinxport' parameters are not properly validated. This lack of input filtering allows attackers to probe internal network ports, potentially leading to unauthorized access or information disclosure.

Impact

Exploitation of this vulnerability allows for server-side request forgery, where an attacker can make the server send requests on its behalf. This could be used to access internal services or resources that are not exposed to the public.

Reproduction

To reproduce this vulnerability, send a request to 'index.php' with the 'm', 'f', 'v', 'sphinxhost', and 'sphinxport' parameters. The 'sphinxhost' parameter can be set to '127.0.0.1' to check if local ports are open. If the specified port is open, the server will respond affirmatively, indicating that the port can be accessed.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
0.2
exploitability
6.8
remediation
0.0
relevance
0.0
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.