WordPress 的 Tainacan 插件在 0.21.7 及之前的所有版本中,由于 'get_file' 函数缺少权限检查,存在未授权访问数据的漏洞。该函数还存在目录遍历漏洞。这使得经过身份验证的攻击者(具有订阅者(Subscriber)级别及以上的访问权限)能够读取服务器上任意文件的内容,其中可能包含敏感信息。
WordPress CVE-2024-7135 Wordpress Tainacan 0.21.7 Arbitrary File Read
options:
-h, --help show this help message and exit
-u URL, --url URL Base URL of the WordPress site
-usr USERNAME, --username USERNAME
WordPress username
-p PASSWORD, --password PASSWORD
WordPress password
-f FILE, --file FILE File path to include in the nonce URL (default: wp-config.php)
pip install requests
pip install beautifulsoup4
此脚本仅用于教育目的。作者不对因误用此脚本而造成的任何损害负责。