| Field | Value |
|---|---|
| Product | go-fastdfs-web |
| Vendor | Perfree |
| Affected Version | v1.3.7 and prior |
| Vulnerability Type | CWE-918: Server-Side Request Forgery (SSRF) |
| Impact | Unauthorized Access to Internal Resources, Sensitive Data Exposure |
| CVSS v3.1 Score | 8.6 (High) |
| CVSS Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Attack Complexity | Low |
| Privileges Required | None |
| User Interaction | None |
| Scope | Unchanged |
go-fastdfs-web is a web-based management interface for go-fastdfs, a distributed file system. It provides installation and configuration capabilities for managing file storage clusters.
A Server-Side Request Forgery (SSRF) vulnerability exists in the installation endpoint of go-fastdfs-web. The /install/checkServer endpoint accepts a user-supplied URL parameter (serverAddress) and makes an HTTP request to validate the server without properly validating whether the target is an internal/protected resource.
This vulnerability allows unauthenticated attackers to:

The vulnerability is particularly severe because the /install/** endpoints are configured to allow anonymous access without authentication:
File: src/main/java/com/perfree/config/ShiroConfig.java
Map<String, String> filterChainDefinitionMap = new LinkedHashMap<>();
filterChainDefinitionMap.put("/install", "anon");
filterChainDefinitionMap.put("/install/**", "anon"); // No authentication required!
File: src/main/java/com/perfree/controller/InstallController.javaMethod: checkServer()Lines: 92-119