Summary
WPPConnect Server through 2.10.74 contains a missing authentication vulnerability that allows unauthenticated attackers to send WhatsApp messages by calling the Chatwoot webhook route without verifyToken middleware. Attackers who know or guess a connected session name can POST outgoing message bodies to send arbitrary texts or files from that account to any number.
Remediation
References
- Patchhttps://github.com/wppconnect-team/wppconnect-server/pull/2702
- Advisoryhttps://www.vulncheck.com/advisories/wppconnect-server-through-2.10.74-missing-authentication-via-api-session-chatwoot
- Referencehttps://github.com/wppconnect-team/wppconnect-server/issues/2701
- Referencehttps://github.com/wppconnect-team/wppconnect-server
- Referencehttps://github.com/wppconnect-team/wppconnect-server/blob/v2.10.74/src/routes/index.ts#L963
- Referencehttps://github.com/wppconnect-team/wppconnect-server/blob/v2.10.74/src/controller/deviceController.ts#L2230-L2324