Descrizione
A flaw was found in librelp. When configured to use Transport Layer Security (TLS) with certificate validation and the GnuTLS driver, the library fails to verify the peer certificate chain. A remote, unauthenticated attacker can exploit this issue by presenting an invalid or self-signed certificate, allowing them to bypass authentication and act as a trusted log source or collector.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 0.7% (percentile 47).
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.
Indicazioni del vendor
Workaround (testo originale del vendor):
Restrict network reachability to the RELP service port using firewall rules so that only authorized systems can establish connections, or switch to an alternate authentication mode such as "fingerprint" or "name". To restrict the RELP port (default 20514/tcp) to authorized IP addresses using firewalld: firewall-cmd --permanent --zone=trusted --add-source=<TRUSTED_IP_OR_SUBNET> firewall-cmd --permanent --zone=trusted --add-port=20514/tcp firewall-cmd --permanent --remove-port=20514/tcp firewall-cmd --reload Alternatively, if RELP network logging is not essential, disable the imrelp or omrelp configuration in /etc/rsyslog.conf or /etc/rsyslog.d/ and restart rsyslog: systemctl restart rsyslog Caveats: Restricting access via firewall rules prevents connections from untrusted networks but does not prevent spoofing from hosts residing within the trusted IP range. Disabling RELP modules or changing authentication modes prevents log forwarding until all participating systems are reconfigured. Warning: Modifying firewall configurations requires reloading firewalld, and changing rsyslog settings requires restarting the rsyslog daemon, which will cause a brief interruption in log handling.
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.