{"id":"CVE-2024-45607","published":"2024-09-12T19:58:13Z","modified":"2024-09-12T20:04:46Z","title":"whatsapp-api-js fails to validate message's signature","vendor":"Secreto31126","product":"whatsapp-api-js","tier":"tail","description":{"text":"whatsapp-api-js is a TypeScript server agnostic Whatsapp's Official API framework. It's possible to check the payload validation using the WhatsAppAPI.verifyRequestSignature and expect false when the signature is valid. Incorrect Access Control, anyone using the post or verifyRequestSignature methods to handle messages is impacted. This vulnerability is fixed in 4.0.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.14468,"percentile":0.96713,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/Secreto31126/whatsapp-api-js/security/advisories/GHSA-mwhf-vhr5-7j23","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Secreto31126/whatsapp-api-js/pull/371","tags":["x_refsource_MISC"]},{"url":"https://github.com/Secreto31126/whatsapp-api-js/commit/56620c65126427496a94d176082fbd8393a95b6d","tags":["x_refsource_MISC"]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":19.34},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"secreto31126","affectedVersions":[{"vendor":"Secreto31126","product":"whatsapp-api-js","versions":[">= 4.0.0, < 4.0.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-12T20:04:37.064646Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"whatsapp-api-js","vulnerableRanges":[">=4.0.0, <4.0.3"],"patched":["4.0.3"],"from":["GHSA-mwhf-vhr5-7j23"],"provenance":"source"}],"summary":{"text":"The whatsapp-api-js framework, a TypeScript server-agnostic wrapper for WhatsApp's Official API, has a flaw in its WhatsAppAPI.verifyRequestSignature method, which fails to correctly validate message signatures and returns false for valid ones. An attacker with network access can send crafted requests to applications that rely on the post or verifyRequestSignature methods to handle incoming messages, with no authentication or user interaction required, and cause those messages to be mishandled with a low integrity impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:54Z"},"euvd":{"id":"EUVD-2024-2839","exploited":false,"provenance":"source"}}