提交 #1027417: FlowCI flow-core-x v1.23.01 Path Traversal信息

标题FlowCI flow-core-x v1.23.01 Path Traversal
描述flow-ci's LocalFileManager implementation constructs file paths with Paths.get(dir.toString(), fileName) and passes them directly to filesystem operations. The fileName parameter is not sanitized: there is no detection of .., no normalize() call, and no startsWith(base) boundary check. Java's Paths.get(a, b) preserves .. path components, so a filename such as ../../../../cve02_browser_escape.txt can escape the intended storage directory when the operating system resolves the path. Five vulnerable sinks exist: 1. `exist()` — L56: `Paths.get(dir.toString(), fileName)` — traversal-aware existence check. 2. `save()` — L67: `Paths.get(dir.toString(), fileName)` — arbitrary file write. 3. `read()` — L75: `Paths.get(dir.toString(), fileName)` — arbitrary file read. 4. `remove(fileName, ...)` — L87: `Paths.get(dir.toString(), fileName)` — arbitrary file delete. 5. `remove(filePath)` — L94: `Paths.get(filePath)` — deletes a fully attacker-controlled path.
来源⚠️ https://glacier-tarsal-711.notion.site/Flow-ci-Path-Traversal-in-flow-ci-LocalFileManager-via-Unsanitized-fileName-Parameter-3f7b25e24b368031bf2cc0afd9166896
用户
 Zy0t1 (UID 100983)
提交2026-10-13 10時33分 (26 日前)
管理2026-11-07 20時35分 (25 days later)
状态已接受
VulDB条目432650 [FlowCI flow-core-x 直到 1.23.49 LocalFileManager LocalFileManager.java exist/save/read/remove fileName 目录遍历]
积分17

Interested in the pricing of exploits?

See the underground prices here!