
Script shell per rilevare CVE-2024-3094 (backdoor xz-utils) su sistemi Linux e macOS, con istruzioni automatiche di controllo e correzione.
Questa vulnerabilità consente a un attaccante di accedere al server ed eseguire codice arbitrario senza superare l'autenticazione SSH. Per i dettagli, consultare: https://www.openwall.com/lists/oss-security/2024/03/29/4
usa
curl -fsSL https://raw.githubusercontent.com/wgetnz/CVE-2024-3094-check/main/CVE-2024-3094-check.sh| bash
OPPURE
curl -fsSL https://github.freedns.uk/https://raw.githubusercontent.com/wgetnz/CVE-2024-3094-check/main/CVE-2024-3094-check.sh| bash
Se il tuo host è offline, utilizza il seguente comando
Per Debian/Ubuntu:
apt list --installed 2>&1 | grep xz | grep -E '5.6.0|5.6.1' && echo "Check your system now" || echo "Everything is ok"
Per macOS:
brew info xz | grep xz | grep -E '5.6.0|5.6.1' && echo 'Check your system now' || echo 'Everything is ok'
Come risolvere: Basta effettuare il downgrade di xz-utils
Risoluzione per macOS: brew install xz
Se hai domande, apri una issue. Se questo progetto ti è utile, per favore dammi una stella.