← 返回地图破甲

Arbitrary file read via the bulk imports UploadsPipeline

路径遍历 / 路径遍历 / #1439593

厂商
GitLab
严重程度
高危 · CVSS 9.6
赏金
$29,000
弱点
路径遍历
研究员
@vakzz
披露日期
2022-03-21
资产
gitlab.com
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(5385 字符中的一小部分)
The bulk imports api does not remove symlinks when untaring the uploads.tar.gz file, allowing arbitrary files to be read and uploaded when importing a group.
原文中的代码
       def extract(context)
          download_service(tmp_dir, context).execute
          untar_zxf(archive: File.join(tmp_dir, FILENAME), dir: tmp_dir)
          upload_file_paths = Dir.glob(File.join(tmp_dir, '**', '*'))

          BulkImports::Pipeline::ExtractedData.new(data: …

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

时间线

阅读 HackerOne 原文 ↗作者 @vakzz · 版权归作者与 GitLab 所有

同类报告

Arbitrary file read via the UploadsRewriter when moving and issueGitLab · 2020-04-27 · $20,000Misuse of an authentication cookie combined with a path traversal on app.starbucks.com permitted access to restricted dataStarbucks · 2020-06-16Arbitrary file read during project importGitLab · 2021-05-24 · $16,000Burp Suite Professional: browser-powered crawl can write attacker-controlled files through file input handlingPortSwigger Web Security · 2026-06-14 · $5,000Path traversal in filename in LINE Mac clientLY Corporation · 2020-07-31Mozilla VPN Clients: RCE via file write and path traversalMozilla · 2025-07-29 · $6,000
Arbitrary file read via the bulk imports UploadsPipeline · 破甲 POJIA