Advisories

Typecho before 1.3.1-rc SSRF via DNS Rebinding in XML-RPC pingback.ping

Go back
Severity
high
Date
Affecting
  • typecho >= 1.2.0, < 1.3.1-rc

CWE
  • CWE-918 Server-Side Request Forgery (SSRF)
CVSS
8.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
References
Credit
abbossec
Description
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.