All vulnerabilities

Servers and applications

GHSA-85f2-5r47-2pwm

SSRF guard bypass via IPv6 6to4 / NAT64 / IPv4-compatible transition wrappers of internal IPs (incomplete fix of the Signature.keyId SSRF)

Severity
Medium 6.5
Published
1 Sept 2026
Last changed
1 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.6.7
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
Sources
Project advisories (GitHub)

Description

The validateKeyIdUrl() SSRF guard added to HttpSignatureService::verifySignature() blocks raw internal IPs and IPv4-mapped IPv6 (::ffff:a.b.c.d), but does not reject three other IPv6 transition-address forms that embed an internal IPv4 target: 6to4 (2002::/16), NAT64 (64:ff9b::/96), and IPv4-compatible (::a.b.c.d, e.g. ::7f00:1). An unauthenticated attacker can pass such a wrapper as the ActivityPub Signature.keyId URL to the public POST /api/forms/{formId}/actor/inbox route; the guard allows it, and YesWiki (Symfony HttpClient / curl) then issues an outbound HTTPS request to the IPv6 literal, which on a host with 6to4 or NAT64 routing terminates at the embedded internal endpoint (loopback, RFC1918, or 169.254.169.254 cloud metadata). This is the same unauthenticated SSRF that the guard was introduced to stop, reachable again through an address form the guard does not canonicalize.

Vulnerable code (tools/bazar/services/HttpSignatureService.php:119-128):

From YesWiki/yeswiki's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
YesWikiServers and applications · github:yeswiki/yeswiki
  • Every version before 4.6.7

About YesWiki

Free wiki-style software for building online sharing and collaboration platforms

From Wikidata, CC0 1.0.
GitHub stars
139GitHub, 15 Nov 2026
Forks
75GitHub, 15 Nov 2026
Latest release
v4.7.2GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
PHPWikidata
First released
2009Wikidata
First published on GitHub
9 Sept 2009GitHub

References