Descrizione
ImpactThis is an information disclosure vulnerability originating from PHP's base image. This vulnerability exposes the PHP version through an X-Powered-By header, which attackers could exploit to fingerprint the server and identify potential weaknesses.
WorkaroundsThe mitigation requires changing the expose_php variable from "On" to "Off" in the file located at /usr/local/etc/php/php.ini.
Tipo di vulnerabilità
CWE-497
Esposizione di informazioni di sistema a soggetti non autorizzati
Il prodotto non impedisce che informazioni sensibili sul sistema siano accessibili a soggetti che non hanno lo stesso livello di accesso.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione · Sviluppo
Production applications should never use methods that generate internal details such as stack traces and error messages unless that information is directly committed to a log that is not viewable by the end user. All error message text should be HTML entity encoded before being written to the log file to protect against potential cross-site scripting attacks against the viewer of the logs
Tutte le 445 CVE di tipo CWE-497, con andamento e prevenzione