Descrizione
HortusFox is a self-hosted web application for collaborative plant management. Prior to 6.2, state-changing AdminController routes in app/config/routes.php accept GET requests. The affected AdminController in app/controller/admin.php does not invoke Asatru\Controller\PostValidator to check CSRF tokens. An unauthenticated attacker can induce a signed-in administrator to open a cross-site link, causing privileged actions such as changing environment settings, deleting users or locations, managing API keys, or clearing cached data. In the tested build, a cross-site POST to /admin/user/update can promote a user immediately after login; in default Chromium the POST succeeds within the approximately two-minute Lax+POST grace period but not with an aged cookie, and other browser configurations may permit the POST. Version 6.2 mitigates the documented GET path, but no complete anti-CSRF fix is documented.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.1, EPSS 0.4% (percentile 25).
Versioni da aggiornare
- danielbrendel hortusfox-web: vulnerabile la versione
< 6.2→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Chiudere le sessioni amministrative quando non servono ed evitare di navigare su siti non fidati con sessioni amministrative aperte.
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 |
|---|---|---|---|
| danielbrendel | hortusfox-web | < 6.2 | — |
Riferimenti
- Riferimentohttps://github.com/danielbrendel/hortusfox-web/commit/5df2ee0897a887b1cd64529064153256d7ffd1de
- Riferimentohttps://github.com/danielbrendel/hortusfox-web/commit/a0dd6472c45e3fe877493a7458090d20d318db45
- Riferimentohttps://github.com/danielbrendel/hortusfox-web/releases/tag/v6.2
- Riferimentohttps://github.com/danielbrendel/hortusfox-web/security/advisories/GHSA-pjvc-wpc6-wf73
- Riferimentohttps://github.com/danielbrendel/hortusfox-web/security/advisories/GHSA-pjvc-wpc6-wf73