跳到正文
原文
OpenAI· @OpenAI · X·· 3 天前AI 评分62

OpenAI 红队演练发现 Brotli 未认证远程代码执行漏洞

AI 导读

OpenAI 在红队演练中发现 Brotli 压缩库存在可导致未认证远程代码执行的漏洞,恶意压缩数据可能使未打补丁的服务器或客户端被接管。漏洞根因已于 2 月在 Brotli 源码中修复,但当时尚未被确认为安全问题;OpenAI 已向 Brotli、Node.js 等下游项目披露,相关项目正在发布安全更新,Brotli 也发布了新版本和 CVE。

正文 · 原文

During this red-teaming exercise, we also found a vulnerability that allows for unauthenticated remote code execution in Brotli, a widely-deployed compression library included in many pieces of software such as Node.js, Bun, and Envoy.

The flaw could let an attacker run their own code on affected systems by sending or replying with malicious compressed data, without any need to create a user account. That is, an unpatched server that accepts compressed input could be taken over by a malicious client, and an unpatched client that accepts compressed input (such as “curl --compressed”) could be taken over by a malicious server.

This root cause issue was actually fixed in the Brotli source code in February, but it wasn’t known at the time that it gave rise to a security vulnerability and there was no more recent release of Brotli. Since Brotli is built into other software, any software which includes this library needs to take the update too, followed by the users of that software. We disclosed the vulnerability to Brotli and other downstream projects such as Node.js, which released or are currently releasing security updates, and Brotli cut new release versions and published a CVE.

More details on the patch and mitigations below:

patchtheplanet.org/brotli

来源:OpenAI · x.com