Descrizione
taOS is a self-hosted AI agent OS. Prior to version 1.0.0-beta.23, the POST /api/skill-exec/{skill_id}/call endpoint in taOS executes built-in skills — including the code_exec skill which runs arbitrary Python via subprocess.run(["python3", "-c", code]) — without performing any admin role check, skill ownership check, or agent assignment verification. Any authenticated non-admin user can supply attacker-controlled Python code in the request body and have it executed as the taOS backend process user on the host, achieving full remote code execution with no privilege escalation required beyond a valid (non-admin) session. This issue has been patched in version 1.0.0-beta.23.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8, EPSS 0.8% (percentile 57).
Versioni da aggiornare
- jaylfc taOS: vulnerabile la versione
< 1.0.0-beta.23→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| jaylfc | taOS | < 1.0.0-beta.23 | — |
Riferimenti
- Riferimentohttps://github.com/jaylfc/taOS/commit/8998d85190424d5e843880b4ca256e79b653a304
- Riferimentohttps://github.com/jaylfc/taOS/releases/tag/v1.0.0-beta.23
- Riferimentohttps://github.com/jaylfc/taOS/security/advisories/GHSA-h24f-gp4c-8qjm
- Riferimentohttps://github.com/jaylfc/taOS/security/advisories/GHSA-h24f-gp4c-8qjm