Descrizione
phpwcms before 1.9.53, 1.12.7 and 2.0.0-beta.4 contains a host header poisoning vulnerability that allows unauthenticated attackers to control password reminder links by sending a forged X-Forwarded-Host header. Attackers can submit the public password reminder form for a victim so the emailed {LOGIN_URL} points to an attacker host, capturing the new password when the victim logs in there.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.4, EPSS 0.4% (percentile 26).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
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.
Riferimenti
- Riferimentohttps://github.com/slackero/phpwcms/blob/v1.12.6/include/inc_lib/default.inc.php#L1523-L1529
- Riferimentohttps://github.com/slackero/phpwcms/commit/6395d3856da61c2be20e389ab53c2ccbef43f89b
- Riferimentohttps://github.com/slackero/phpwcms/commit/7020dfd9b3210b27f8df59fffcaac591a7fce834
- Riferimentohttps://github.com/slackero/phpwcms/commit/ab842a821a84dbd70d9249167eac37940c11d94f
- Riferimentohttps://github.com/slackero/phpwcms/releases/tag/v1.12.7
- Riferimentohttps://github.com/slackero/phpwcms/releases/tag/v1.9.53
- Riferimentohttps://github.com/slackero/phpwcms/releases/tag/v2.0.0-beta.4
- Riferimentohttps://github.com/slackero/phpwcms/security/advisories/GHSA-x5fx-f274-39p8
- Riferimentohttps://www.vulncheck.com/advisories/phpwcms-before-1.9.53-1.12.7-and-2.0.0-beta.4-password-reminder-link-poisoning
- Riferimentohttps://github.com/slackero/phpwcms/security/advisories/GHSA-x5fx-f274-39p8