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.
Server-Side Request Forgery CWE-918
An attacker can make the server send requests for them, for example to reach internal systems that are not meant to be public.
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.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Typecho Typecho | Software | from 1.2.0, before 1.3.1-rc | 1.3.1-rc |
The 8.3 severity score (high) from vulncheck.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Setup needed on the target | None | No special setup on the target is needed. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | Low | The attacker can change some data, but not everything. |
| Service disrupted | None | The service keeps running. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
NIST lists 2 sources for this flaw, none tagged as a vendor patch.