Etherpad
Etherpad: JWT `admin` claim presence-only check lets non-admin OAuth users invoke every Etherpad HTTP API endpoint
Etherpad is a real-time collaborative editor. From 2.1.0 until 3.1.0, Etherpad's src/node/handler/APIHandler.ts authorizes requests to /api/2/* in the authorization_code OAuth path by using requiredClaims with the admin claim. This check requires only that the claim exists, while src/node/security/OAuth2Provider.ts issues admin: false for configured non-admin users. A non-admin user with a valid signed token can therefore invoke administrative functions including setHTML, setText, appendText, deletePad, copyPad, movePad, restoreRevision, anonymizeAuthor, listAllPads, and listAuthorsOfPad, allowing disclosure, modification, or deletion of pads across the instance. This issue is fixed in version 3.1.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.1.0, < 3.1.0
Fixed in 3.1.0
Mitigation
Upgrade etherpad to 3.1.0 or later.
References
- Vendor advisory github.com/ether/etherpad/security/advisories/…
- Patch github.com/ether/etherpad/pull/7784
- Patch github.com/ether/etherpad/commit/8c6104c5d5daf…
1 more
- Release notes github.com/ether/etherpad/releases/tag/v3.1.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.