The github-issue-bot templates in appwrite/templates verify the GitHub webhook signature with an inverted condition. verifyWebhook in node/github-issue-bot/src/github.js and in node-typescript/github…
中危 CVSS 5.8
摘要
The github-issue-bot templates in appwrite/templates verify the GitHub webhook signature with an inverted condition. verifyWebhook in node/github-issue-bot/src/github.js and in node-typescript/github-issue-bot/src/github.ts returns "typeof signature !== 'string' || (await verify(...))", so when the X-Hub-Signature-256 header is absent the first operand is true, the logical OR short-circuits, and the function reports success without performing any HMAC verification. main.js rejects a request onl…
中文摘要建设中,暂以英文摘要呈现(DR-003 v2)。
深度研判
该漏洞尚未生成深度研判报告(DR-003 v2 AI pipeline 建设中)。
数据来源
- NVD DATABASE
原始链接
- https://github.com/appwrite/templates
- https://github.com/appwrite/templates/blob/1.1.2/node-typescript/github-issue-bot/src/github.ts
- https://github.com/appwrite/templates/blob/1.1.2/node/github-issue-bot/src/github.js
- https://github.com/appwrite/templates/blob/1.1.2/node/github-issue-bot/src/main.js
- https://github.com/appwrite/templates/issues/350
- https://www.vulncheck.com/advisories/appwrite-templates-github-issue-bot-skips-webhook-signature-verification-when-the-x-hub-signature-256-header-is-absent
时间线
- nvd_ingest NVD