| 제목 | TencentCloud Octop v1.0.3b1 Path Traversal |
|---|
| 설명 | Octop v1.0.3b1: the workspace file endpoints (GET/PUT /api/agents/{aid}/workspace/file, upload, download; src/octop/api/routers/workspace.py) treat path values beginning with / or ~ as host-filesystem absolute paths when from_workspace=false, with no host-path validation on read/write/upload (the download blacklist covers only /etc,/proc,/sys,/dev,/private/etc and browser dirs). Any registered user (invited role=user) can create an agent whose default root_dir is the host filesystem root. Verified against the v1.0.3b1 tag: from_workspace handling present in workspace.py. Verified on a live instance: arbitrary read of octop's config.json and octop.db/-wal, extraction of the JWT HS256 secret and all user password hashes, offline-forged role=admin JWT accepted by /api/auth/me (full instance takeover), and arbitrary write (/tmp/pwn_canary_rce.txt confirmed; crontab/authorized_keys reachable for host RCE). Also affects master 890111b7. Reproduced and publicly disclosed: https://github.com/TencentCloud/Octop/issues/2733 |
|---|
| 원천 | ⚠️ https://github.com/TencentCloud/Octop/issues/2733 |
|---|
| 사용자 | chenhuanlin (UID 100424) |
|---|
| 제출 | 2026. 11. 01. PM 03:50 (26 날 ago) |
|---|
| 모더레이션 | 2026. 11. 27. PM 08:18 (26 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 444984 [TencentCloud Octop 까지 1.0.3b7 Workspace File API workspace.py _workspace_io_path 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|