漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Appwrite Templates github-issue-bot Skips Webhook Signature Verification When the X-Hub-Signature-256 Header Is Absent
Vulnerability Description
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 only when verifyWebhook returns false, so an unauthenticated request carrying no signature passes the check. Processing then continues to postComment, which takes the repository and issue objects directly from the request body, letting the caller direct the deployed function to post a comment on a repository and issue of their choosing using the configured GITHUB_TOKEN, with the issue author login from the body interpolated into the comment text.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Vulnerability Type
密码学签名的验证不恰当
Vulnerability Title
Appwrite Templates 加密问题漏洞
Vulnerability Description
Appwrite Templates是Appwrite公司的一套开发模板集合。 Appwrite Templates 1.1.2及之前版本存在加密问题漏洞,该漏洞源于GitHub webhook签名验证条件反转,缺少X-Hub-Signature-256头时未执行HMAC验证,可能导致未经身份验证的攻击者使用GITHUB_TOKEN在任意仓库和issue上发表评论。
CVSS Information
N/A
Vulnerability Type
N/A