CVE-2025-8228
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-27

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability was found in yanyutao0402 ChanCMS up to 3.1.2. It has been rated as critical. Affected by this issue is the function getPages of the file /cms/collect/getPages. The manipulation of the argument targetUrl leads to server-side request forgery. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 3.1.3 is able to address this issue. It is recommended to upgrade the affected component.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-27
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-07-27
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
chancms chancms to 3.1.3 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-8228 is a Server-Side Request Forgery (SSRF) vulnerability in ChanCMS versions up to 3.1.2, specifically in the /cms/collect/getPages endpoint. The vulnerability occurs because the targetUrl parameter, which is user-controlled, is not properly validated or filtered. This allows an attacker to manipulate the targetUrl argument to make the server send unauthorized HTTP requests to arbitrary or internal network addresses. As a result, the attacker can cause the server to access internal resources or external sites on their behalf, potentially exposing sensitive information or enabling further attacks. The issue can be exploited remotely and is considered critical. Upgrading to version 3.1.3 fixes this vulnerability. [1, 2, 3]


How can this vulnerability impact me? :

This vulnerability can impact you by allowing attackers to make your server perform unauthorized HTTP requests to internal or external systems. This can lead to exposure of sensitive internal network information, unauthorized data access, internal network reconnaissance, or disruption of service. It affects the confidentiality, integrity, and availability of your system. Attackers can exploit this remotely and easily, potentially leading to further exploitation of internal services or data breaches. [1, 2, 3]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by monitoring for unusual or unauthorized HTTP requests originating from the server to internal or unexpected external addresses, especially targeting the /cms/collect/getPages endpoint with manipulated targetUrl parameters. You can use network monitoring tools or web server logs to identify such requests. For example, using curl to test the endpoint with crafted payloads can help detect the vulnerability: curl -X POST -H "Content-Type: application/json" -d '{"targetUrl":"http://example.com"}' http://yourserver/cms/collect/getPages. Additionally, inspecting logs for requests to /cms/collect/getPages with suspicious targetUrl values or using intrusion detection systems to flag SSRF patterns can assist in detection. [1, 3]


What immediate steps should I take to mitigate this vulnerability?

The immediate recommended mitigation is to upgrade ChanCMS to version 3.1.3, which addresses this SSRF vulnerability. Until the upgrade can be applied, you should restrict access to the /cms/collect/getPages endpoint, implement input validation or filtering on the targetUrl parameter to prevent unauthorized requests, and monitor network traffic for suspicious outbound requests. Applying network-level controls to limit the server's ability to make arbitrary HTTP requests can also help mitigate the risk. [2]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart