POJIA破甲
地图 / CVE-2017-12858: Heap UAF in _zip_buffer_free() / Double free in _zip_dirent_read()

CVE-2017-12858: Heap UAF in _zip_buffer_free() / Double free in _zip_dirent_read()

内存破坏 / 释放后使用 / #260414

厂商
Internet Bug Bounty
严重程度
中危
赏金
—
弱点
释放后使用
研究员
@geeknik
披露日期
2019-10-08
资产
IBB (Legacy)
CVE
CVE-2017-12858

该报告还没有中文解读。

原文摘录

摘自原文(3478 字符中的一小部分)
libzip is a C library for reading, creating, and modifying zip archives. A partial list of projects using libzip include: [Plex Home Theater](https://support.plex.tv/hc/en-us/articles/204096476-License-Information), MySQL Workbench, ckmame, fuse-zip, lua-zip, **php zip extension**, zipruby, …
原文中的代码
==19825==ERROR: AddressSanitizer: heap-use-after-free on address 0x60300000ece1 at pc 0x0000004fbbe9 bp 0x7ffd4ed8f250 sp 0x7ffd4ed8f248
READ of size 1 at 0x60300000ece1 thread T0
    #0 0x4fbbe8 in _zip_buffer_free /root/libzip/lib/zip_buffer.c:53:9
    #1 0x4ccdc5 in _zip_dirent_read …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @geeknik · 版权归作者与 Internet Bug Bounty 所有

同类报告

Use-After-Free In IPV6_2292PKTOPTIONS leading To Arbitrary Kernel R/W PrimitivesPlayStation · 2020-07-06 · $10,000sys_fsc2h_ctrl kernel stack freePlayStation · 2025-04-18 · $10,000Use-after-free in setsockopt IPV6_2292PKTOPTIONS (CVE-2020-7457)PlayStation · 2022-09-20 · $10,000CVE-2021-22901: TLS session caching disastercurl · 2021-05-26Old WebKit HTML agent in Template Preview function has multiple known vulnerabilities leading to RCELob · — · $1,500Use-After-Free in SMB connection reuse (req->path dangling pointer after needle destruction)curl · 2026-04-29