MedDream PACS Premium cecho.php SSRF vulnerability
The cecho.php script in MedDream PACS Premium passes user-controlled parameters to a network connection function, allowing an unauthenticated attacker to make the server connect to arbitrary internal hosts and ports. By observing different error responses, an attacker can map internal network services.
Originally disclosed on Cisco Talos
A server-side request forgery vulnerability exists in the cecho.php functionality of MedDream PACS Premium 7.3.5.860. A specially crafted HTTP request can lead to SSRF.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The application takes user-supplied values for IP address and port and passes them directly to a network connection function without validation or restriction.
Impact
An attacker could discover online hosts and services inside the internal network, potentially mapping the network layout.
What the attacker needed
Network access to the cecho.php endpoint; no authentication required
How it was found
- Send an HTTP request to cecho.php with a chosen IP address and port.
- Observe the error message in the response to determine if the host and port are reachable.
- Repeat with different IP addresses and ports to map the internal network.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Server-side request forgery (SSRF) is when an attacker tricks a server into making requests to other systems on its behalf. Here, the server's error messages reveal whether a particular internal host and port are reachable, letting an outsider probe the internal network without direct access.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.