OSV 1.4.0 · github-reviewed · 修改于 2026-06-27 05:50
发布时间
2026-06-27 05:50
GitHub 审查时间
2026-06-27 05:50
NVD 发布时间
—
源文件
advisories/github-reviewed/2026/06/GHSA-mmj8-wcvw-6789/GHSA-mmj8-wcvw-6789.json
The administrative proxy route (cmsproxy) in Aimeos Pagible CMS is vulnerable to a Server-Side Request Forgery (SSRF) attack via DNS Rebinding. A Time-of-Check to Time-of-Use (TOCTOU) race condition exists between the URL validation phase and the actual HTTP request phase, allowing attackers to access internal network resources and cloud metadata endpoints.
Before executing an HTTP request to fetch external content, the AdminController::proxy controller validates the target URL using \Aimeos\Cms\Utils::isValidUrl($url). This function performs a DNS query to verify that the hostname does not resolve to private or reserved IP ranges (e.g., 127.0.0.1, 10.0.0.0/8, 169.254.169.254).
If the validation passes, the application proceeds to the "Use" phase, invoking Guzzle/cURL to send the request. However, Guzzle performs a second DNS lookup to establish the socket connection.
An attacker can exploit this by setting up a malicious DNS server for a domain they control and configuring it with a TTL of 0.
/cmsproxy?url=http://rebound.test.com.isValidUrl checks rebound.test.com. DNS returns 8.8.8.8. Validation passes.http://rebound.test.com. DNS returns 169.254.169.254.