제출 #992173: github.com/Travisun/Opptrix Opptrix Server v0.4.0 Command Injection정보

제목github.com/Travisun/Opptrix Opptrix Server v0.4.0 Command Injection
설명A self-hosted Opptrix server (open source, github.com/Travisun/Opptrix) exposes all API endpoints without authentication from first launch until the owner completes account setup, which is the default claimed:false state of a fresh deployment. In this setup window, POST /api/auth/setup is first-come-first-served: whoever reaches it first receives the single administrator account permanently, while the legitimate owner is locked out with HTTP 409. The schedule API then accepts a job of kind shell_script whose argv may be ["node","-e","<arbitrary JavaScript>"]; the command blocklist only rejects shell wrappers and the exact -c / /c arguments. Running the job via POST /api/schedule/jobs/{id}/run executes that argv with the privileges of the service process, and a non-zero exit code routes the command's stdout into the run record, giving the attacker output readback (demonstrated with whoami, hostname, and reading the key-vault key file). The APIs carry no CORS headers, but JSON POSTs against a locally running instance can be reached same-origin through DNS rebinding because the server performs no Host header validation, so a malicious web page can drive the entire chain against a victim's local deployment with no interaction beyond browsing. Verified against v0.4.0 (current main branch, self-reported via /api/health) on Windows. Impact: permanent takeover of fresh deployments, arbitrary command execution with service privileges, and command output disclosure; the executed code reaches the data directory including the user database and key vault. Advisory / Exploit(三行,Drive 链接换成你自己的): https://github.com/Travisun/Opptrix [Google Drive link - POC video] [Google Drive link - POC html] --- 提交 2 — 漏洞2(更新包导入 → 重启后任意代码执行) ┌───────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ 字段 │ 填写 │ A self-hosted Opptrix server (open source, github.com/Travisun/Opptrix) exposes all API endpoints without authentication from first launch until the owner completes account setup, which is the default claimed:false state of a fresh deployment. In this setup window, POST /api/auth/setup is first-come-first-served: whoever reaches it first receives the single administrator account permanently, while the legitimate owner is locked out with HTTP 409. The schedule API then accepts a job of kind shell_script whose argv may be ["node","-e","<arbitrary JavaScript>"]; the command blocklist only rejects shell wrappers and the exact -c / /c arguments. Running the job via POST /api/schedule/jobs/{id}/run executes that argv with the privileges of the service process, and a non-zero exit code routes the command's stdout into the run record, giving the attacker output readback (demonstrated with whoami, hostname, and reading the key-vault key file). The APIs carry no CORS headers, but JSON POSTs against a locally running instance can be reached same-origin through DNS rebinding because the server performs no Host header validation, so a malicious web page can drive the entire chain against a victim's local deployment with no interaction beyond browsing. Verified against v0.4.0 (current main branch, self-reported via /api/health) on Windows. Impact: permanent takeover of fresh deployments, arbitrary command execution with service privileges, and command output disclosure; the executed code reaches the data directory including the user database and key vault.
원천⚠️ https://drive.google.com/drive/folders/1-ENuA8hKauFSTrn55IRYPQBeKwMV9xwR?usp=sharing
사용자
 fifker (UID 101353)
제출2026. 09. 19. PM 03:03 (1 월 ago)
모더레이션2026. 10. 24. AM 02:49 (1 month later)
상태수락
VulDB 항목426050 [Travisun Opptrix 0.4.0 Schedule API /api/auth/setup 권한 상승]
포인트들20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!