Descrizione
The MQTT add-on of PcVue fails to verify that a remote device’s certificate has not already expired or has not yet become valid. This allows malicious devices to present certificates that are not rejected properly.
The use of a client certificate reduces the risk for random devices to take advantage of this flaw.
Tipo di vulnerabilità
CWE-298
Improper Validation of Certificate Expiration
A certificate expiration is not validated or is incorrectly validated.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Altro |
Altro |
| Autenticazione, Altro |
Altro |
Come si previene
Architettura e progettazione
Check for expired certificates and provide the user with adequate information about the nature of the problem and how to proceed.
Sviluppo
If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the expiration.
Tutte le 7 CVE di tipo CWE-298, con andamento e prevenzione