YesWiki
YesWiki: Unauthenticated Server-Side Request Forgery via ActivityPub `Signature.keyId`
YesWiki is a wiki system written in PHP. From version 4.6.2 to before version 4.6.6, the POST /api/forms/{formId}/actor/inbox route - exposed publicly with acl:"public" - accepts an HTTP Signature header whose keyId parameter is a URL. HttpSignatureService::verifySignature() parses the header and immediately makes a server-side HTTP GET to that URL, before any cryptographic verification or URL validation. An unauthenticated remote attacker can therefore make YesWiki issue arbitrary outbound HTTP requests to any host the server can reach - internal services, cloud-metadata endpoints (169.254.169.254), intranet-only admin panels, etc. - and read enough back via timing and error-message oracles to scan ports, enumerate services, and (on a real cloud instance) reach IAM metadata. The only deployment-side precondition is that ActivityPub be enabled on at least one Bazar form. This issue has been patched in version 4.6.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.6.2, < 4.6.6
Fixed in 4.6.6
Mitigation
Upgrade yeswiki to 4.6.6 or later.
References
- Vendor advisory github.com/YesWiki/yeswiki/security/advisories…
- Release notes github.com/YesWiki/yeswiki/releases/tag/v4.6.6
- Patch github.com/YesWiki/yeswiki/commit/87e627f33e79…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.