Typecho
Typecho before 1.3.1-rc SSRF via DNS Rebinding in XML-RPC pingback.ping
Typecho before 1.3.1-rc contains a server-side request forgery vulnerability in the XML-RPC pingback.ping method where checkSafeHost() validates a hostname's resolved IP once but the subsequent outbound request performs an independent DNS resolution, creating a TOCTOU window exploitable via DNS rebinding. An unauthenticated attacker can configure a domain to return a benign IP at validation time and an internal address (loopback, RFC1918, or cloud metadata IP) at request time, causing the server to issue blind SSRF requests to arbitrary internal hosts and ports.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.2.0, < 1.3.1-rc
Fixed in 1.3.1-rc
Mitigation
Upgrade typecho to 1.3.1-rc or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.