AI Security AI安全 7h ago Updated 2h ago 更新于 2小时前 49

Kimi K3 Agents Found Redis Zero-Days and Built RCE Exploit, Researchers Say Kimi K3 智能体发现 Redis 零日漏洞并构建 RCE 利用程序,研究人员称

Kimi K3 AI agents reportedly discovered multiple Redis zero-day vulnerabilities and constructed Remote Code Execution (RCE) exploits in under two hours. Researchers identified two primary attack vectors: a shared-NACK use-after-free bug in Redis Streams and an out-of-bounds write in the RedisBloom TDigest module, both exploitable via the RESTORE command. Redis released seven security patches on July 23 to address these memory flaws across versions 6.2.x through 8.8.x, though official CVE records Kimi K3 AI Agents 在约90分钟内发现19个Redis零日漏洞,并成功构建针对Redis 8.8.0的远程代码执行(RCE)利用链。 Redis于7月23日发布七个安全更新,修复了RESTORE命令相关的内存缺陷,包括Streams共享NACK双重释放和RedisBloom TDigest越界写入。 攻击者通过构造损坏的RDB对象或操纵TDigest容量字段,将内存错误转化为任意读写原语,最终调用system()实现RCE。 尽管漏洞已被确认并修复,但截至7月24日尚未发现野外利用案例,且官方未为此次新发现的漏洞分配新的CVE编号。

75
Hot 热度
65
Quality 质量
70
Impact 影响力

Analysis 深度分析

TL;DR

  • Kimi K3 AI agents reportedly discovered multiple Redis zero-day vulnerabilities and constructed Remote Code Execution (RCE) exploits in under two hours.
  • Researchers identified two primary attack vectors: a shared-NACK use-after-free bug in Redis Streams and an out-of-bounds write in the RedisBloom TDigest module, both exploitable via the RESTORE command.
  • Redis released seven security patches on July 23 to address these memory flaws across versions 6.2.x through 8.8.x, though official CVE records for these specific July findings remain unassigned or incomplete.
  • The incident highlights the accelerating capability of autonomous AI agents in offensive security research, raising concerns about the speed at which new vulnerabilities can be weaponized.

Why It Matters

This development signals a paradigm shift in vulnerability discovery, where AI agents can autonomously identify complex memory corruption bugs and generate functional exploits faster than traditional human-led audits. For security practitioners, it underscores the urgent need to prioritize patching critical infrastructure components like Redis, as the window between discovery and exploitation is shrinking significantly due to AI-driven automation.

Technical Details

  • Redis Streams Chain: Exploits a shared-ownership bug where a corrupt RDB object causes two consumers to point to the same pending-entry record (streamNACK). Removing both consumers results in a double-free, leading to arbitrary memory access and eventual system() invocation via hash function poisoning.
  • RedisBloom/TDigest Chain: Targets an out-of-bounds write in the TDigest RDB loader, where the loader trusts an attacker-controlled capacity field separate from the serialized compression value. This mismatch allows for arbitrary read/write primitives, address leakage, and RCE.
  • Affected Versions: Vulnerabilities impact stock Redis 6.2.22, 7.4.9, 8.6.4, and 8.8.0. Fixes were shipped in Redis 6.2.23, 7.2.15, 7.4.10, 8.2.8, 8.4.5, 8.6.5, and 8.8.1.
  • Mitigation: Until patched, administrators should revoke the RESTORE command from accounts that do not strictly require it and block untrusted network access to prevent exploitation of both disclosed paths.

Industry Insight

  • AI-Driven Threat Landscape: Organizations must assume that AI agents are actively scanning for and exploiting zero-days in real-time. Security strategies should evolve from periodic auditing to continuous, automated vulnerability management and immediate patch deployment for critical services.
  • Supply Chain and Dependency Vigilance: The reliance on third-party modules like RedisBloom introduces additional attack surfaces. Teams should audit all enabled modules and restrict command permissions (e.g., RESTORE) to minimize the blast radius of potential memory corruption exploits.
  • Verification Gap: The discrepancy between self-reported AI findings and official CVE assignment highlights the need for independent verification mechanisms. Security teams should monitor community disclosures and vendor updates closely rather than relying solely on formal CVE databases for immediate risk assessment.

TL;DR

  • Kimi K3 AI Agents 在约90分钟内发现19个Redis零日漏洞,并成功构建针对Redis 8.8.0的远程代码执行(RCE)利用链。
  • Redis于7月23日发布七个安全更新,修复了RESTORE命令相关的内存缺陷,包括Streams共享NACK双重释放和RedisBloom TDigest越界写入。
  • 攻击者通过构造损坏的RDB对象或操纵TDigest容量字段,将内存错误转化为任意读写原语,最终调用system()实现RCE。
  • 尽管漏洞已被确认并修复,但截至7月24日尚未发现野外利用案例,且官方未为此次新发现的漏洞分配新的CVE编号。

为什么值得看

本文揭示了AI智能体在自动化漏洞挖掘和安全研究领域的惊人能力,Kimi K3 Agent的高效性标志着AI辅助网络安全的新里程碑。对于数据库管理员和安全从业者而言,这是一次紧急的安全警报,强调了及时升级Redis版本及限制高危命令权限的重要性。

技术解析

  • 漏洞利用路径一(Streams):利用RESTORE命令加载损坏的RDB对象,导致两个消费者指向同一个待处理条目(streamNACK)。移除第一个消费者后释放该对象,留下悬空指针;移除第二个消费者时触发双重释放(Use-After-Free),进而通过毒化数据库哈希函数实现任意代码执行。
  • 漏洞利用路径二(RedisBloom/TDigest):TDigest RDB加载器存在逻辑缺陷,其分配的内存大小基于序列化值,但加载节点数量却信任了攻击者可控制的容量字段。这种不匹配导致越界写入,攻击者借此建立读写原语,泄露地址并调用system()。
  • 受影响版本与修复:受影响的版本包括6.2.22, 7.4.9, 8.6.4, 和 8.8.0。Redis发布了多个补丁版本(如6.2.23, 7.4.10, 8.6.5, 8.8.1等)来修复这些内存管理缺陷,特别是增加了所有权检查和边界验证。
  • AI Agent效能:据称Kimi K3 Agent在90分钟内发现了19个零日漏洞,并在27分钟内构建了针对最新稳定版Redis 8.8.0的完整RCE PoC,展示了高度自动化的漏洞分析能力。

行业启示

  • AI驱动的安全研究范式转变:AI智能体能够以人类无法比拟的速度进行大规模漏洞挖掘和利用链构建,安全团队需重新评估自动化攻击工具的威胁等级,并加强防御体系的自动化检测能力。
  • 配置管理与最小权限原则至关重要:在补丁发布前,建议立即撤销非必需账户的RESTORE命令权限,并严格限制网络访问,以切断潜在的利用路径,这比单纯依赖版本升级更为即时有效。
  • 漏洞披露与跟踪机制的滞后性:此次事件中,多个严重漏洞未立即获得独立的CVE编号,且无已知野外利用记录,提示组织在应对新型AI发现漏洞时,应更关注具体的技术细节和缓解措施,而非仅依赖传统的CVE跟踪体系。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Security 安全 Research 科学研究 Agent Agent