Descrizione
Dokploy is a free, self-hostable Platform as a Service (PaaS). Prior to 0.31.1, the backup prefix field is only checked for a nonempty value, and normalizeS3Path preserves shell metacharacters before the prefix is interpolated into rclone upload and retention-cleanup command strings. An authenticated organization member with backup permission for a service can execute arbitrary commands as root on the Dokploy host or configured remote server when a PostgreSQL, MySQL, MariaDB, MongoDB, libSQL, Compose, or web-server backup runs manually, on schedule, or performs retention cleanup. This issue is fixed in version 0.31.1.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.9, EPSS 0.9% (percentile 61).
Versioni da aggiornare
- Dokploy dokploy: vulnerabile la versione
< 0.31.1→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Limitare l'accesso all'interfaccia vulnerabile (VPN o allowlist IP), disabilitare le funzionalità non necessarie e monitorare processi anomali avviati dal servizio.
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 |
|---|---|---|---|
| Dokploy | dokploy | < 0.31.1 | — |
Riferimenti
- Riferimentohttps://github.com/Dokploy/dokploy/commit/549cdada79a8ddf9bd9d1f153159626d050b4b6a
- Riferimentohttps://github.com/Dokploy/dokploy/pull/5908
- Riferimentohttps://github.com/Dokploy/dokploy/releases/tag/v0.31.1
- Riferimentohttps://github.com/Dokploy/dokploy/security/advisories/GHSA-2gq3-9q77-8hgv