Descrizione
Databasement before 1.10.9 contains an authentication bypass vulnerability in OAuthService::findOrCreateLocalUser() that links OIDC identities to local users by email without checking email_verified. Attackers can register an identity provider account with a victim's unverified email to log in as any user, including the super-admin, and retain access after password resets.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.1, EPSS 0.5% (percentile 46).
Versioni da aggiornare
- David-Crty Databasement: vulnerabili le versioni precedenti alla
1.10.9→ aggiornare alla1.10.9o successiva.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Non esporre l'interfaccia di gestione su Internet: consentire l'accesso solo da reti fidate e verificare la presenza di account, sessioni o chiavi 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 |
|---|---|---|---|
| David-Crty | Databasement | < 1.10.9 | 1.10.9 |
Riferimenti
- Riferimentohttps://github.com/David-Crty/databasement/blob/v1.10.8/app/Services/OAuthService.php#L55-L68
- Riferimentohttps://github.com/David-Crty/databasement/commit/b7f4079c02b7ce3f1cf2844de182e809636c3382
- Riferimentohttps://github.com/David-Crty/databasement/releases/tag/v1.10.9
- Riferimentohttps://github.com/David-Crty/databasement/security/advisories/GHSA-mh6w-2cch-w8v8
- Riferimentohttps://www.vulncheck.com/advisories/databasement-before-1.10.9-account-takeover-via-oidc-email-auto-linking
- Riferimentohttps://github.com/David-Crty/databasement/security/advisories/GHSA-mh6w-2cch-w8v8