Description
WPPConnect Server through 2.10.76 contains a missing authentication vulnerability that allows unauthenticated attackers to read decrypted sticker media through the /files static mount. Attackers can enumerate Unix timestamps in GET /files/file<timestamp>.webp requests to retrieve stickers from any session, bypassing per-session token checks.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| wppconnect | wppconnect-server | ≤ 2.10.76 | — |
References
- https://github.com/wppconnect-team/wppconnect-server/issues/2708 issue-tracking
- https://github.com/wppconnect-team/wppconnect-server/pull/2709 patch issue-tracking
- https://github.com/wppconnect-team/wppconnect-server/commit/bf1faac7a14892207348c3dc5f6e03ed180e09e8 patch
- https://github.com/wppconnect-team/wppconnect-server/blob/d08285afca862e60fb82675ce73e630de6c857bf/src/index.ts#L68 technical-description
- https://hackmd.io/@hieund/wppconnect-files-unauth-cross-session-sticker-media-disclosure technical-description
- VulnCheck Advisory: WPPConnect Server through 2.10.76 Unauthenticated Sticker Media Disclosure via /files third-party-advisory