Отправить #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)
Представление13.10.2026 10:33 (26 дни назад)
Модерация07.11.2026 20:35 (25 days later)
Статуспринято
Запись VulDB432650 [FlowCI flow-core-x до 1.23.49 LocalFileManager LocalFileManager.java exist/save/read/remove fileName обход каталога]
Баллы17

Want to stay up to date on a daily basis?

Enable the mail alert feature now!