CC-Tweaked has an SSRF Protection Bypass with NAT64
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.119.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: no
- Technical impact: partial
Summary
CC: Tweaked is a mod for Minecraft which adds programmable computers, turtles, and more to the game. Prior to version 1.119.0, CC-Tweaked's HTTP API (`http.request`, `http.websocket`) blocks requests to private network ranges to prevent server-side request forgery (SSRF). This protection can be bypassed on IPv6-capable servers using NAT64 well-known prefix addresses (`64:ff9b::/96`). An attacker who can execute Lua code can reach any internal IPv4 service that the filter is intended to block, by addressing it as `http://[64:ff9b::<ipv4-as-hex>]/` instead of its direct IPv4 address. This affects any CC-Tweaked deployment on a network with NAT64 routing — a configuration that is standard on AWS, GCP, and other cloud platforms when using IPv6-only subnets. Version 1.119.0 fixes the issue.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- cc-tweaked CC-Tweaked
fixed in 1.119.0
- cc.tweaked:cc-tweaked-1.21-coreMaven
fixed in 1.119.0
- cc.tweaked:cc-tweaked-1.20.1-coreMaven
fixed in 1.119.0
- cc.tweaked:cc-tweaked-1.20.4-coreMaven
fixed in 1.119.0
- cc.tweaked:cc-tweaked-1.20.5-coreMaven
fixed in 1.119.0
- cc.tweaked:cc-tweaked-1.20.6-coreMaven
fixed in 1.119.0
- cc.tweaked:cc-tweaked-1.19.3-coreMaven
fixed in 1.119.0
- cc.tweaked:cc-tweaked-1.19.4-coreMaven
fixed in 1.119.0
- cc.tweaked:cc-tweaked-1.20-coreMaven
fixed in 1.119.0