제출 #914893: 0x4m4 hexstrike-ai v1.0 Arbitrary File Write정보

제목0x4m4 hexstrike-ai v1.0 Arbitrary File Write
설명The HexStrike AI server exposes two file management endpoints — /api/files/create (POST) and /api/files/modify (POST) — that allow a client to create or modify files on the server's filesystem. The FileOperationsManager class uses Path("/tmp/hexstrike_files") / filename to construct the target path, but filename is entirely user-controlled and no path traversal protection is applied: no .resolve() check, no .. filtering, no chroot. An unauthenticated remote attacker can supply filename values containing ../ sequences to write to arbitrary locations on the filesystem, such as ~/.ssh/authorized_keys, ~/.bashrc, /etc/cron.d/, or any other file writable by the server process. This directly leads to persistent remote code execution.
원천⚠️ https://github.com/0x4m4/hexstrike-ai/issues/225
사용자
 ez-lbz (UID 87033)
제출2026. 08. 04. PM 02:35 (1 월 ago)
모더레이션2026. 09. 13. AM 07:08 (1 month later)
상태수락
VulDB 항목403224 [0x4m4 HexStrike AI 까지 d689933ff579d839c676c82b231f8e98326c5f04 API Files Endpoint hexstrike_server.py FileOperationsManager filename 디렉토리 순회]
포인트들20

Might our Artificial Intelligence support you?

Check our Alexa App!