Descrizione
A flaw was found in the Ansible Automation Platform. When creating a new keypair, the ec2_key module prints out the private key directly to the standard output. This flaw allows an attacker to fetch those keys from the log files, compromising the system's confidentiality, integrity, and availability.
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