abraxaslabs.tech · github.com/abraxas · @abraxas_null · [email protected] · CVE-2026-19952
技术分析文章:https://abraxaslabs.tech/research/CVE-2026-19952
Frontend Admin by DynamiApps 3.29.12 - DynamiApps
我是 @abraxas_null。回环实验环境。客户端为 CVE-2026-19952-Abraxas-Labs.py。
标题即路径。在 acf/pre_update_value/type=upload_files(图库)上存在未认证的 move_folders,而非 upload_file。合并标签 [acf:post_title] 会采用提交的标题。路径为上传基目录加上该名称,且无包含性校验。当 secure_directory 关闭时,执行 unlink(upload_dir/index.php)。3.29.13 新增了 get_safe_upload_dir。
| CVE | CVE-2026-19952 · CVE.org |
| CWE | CWE-22 |
| CVSS | 高危:7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 产品 | WordPress - Frontend Admin by DynamiApps |
| 受影响版本 | 至 3.29.12(含) 的所有版本 |
| 已修复 | 3.29.13 及更高版本 |
| 认证 | 无 |
| 许可证 | GNU Affero GPL v3.0 |
| 实验环境 | 仅 127.0.0.1 |
以访客身份 POST 一篇新文章,其标题为 ../somewhere。插件会删除 somewhere/index.php。删除正确的文件即可进入 RCE 领域。本实验删除的是预先放置的见证文件,而非 wp-config.php。
Wordfence 提到了 move_folders。我阅读了 upload_files 钩子,然后是合并标签,接着在实验环境中放置了一个 index.php。
放置见证文件、采集、POST、再次检查见证文件。GET /wp-content/poc19952/index.php 必须包含该字符串。GET /fea-files-lab/ 以获取隐藏字段。POST 标题 ../poc19952 和文件 1。再次 GET 该 index。该字符串必须消失。
走过的弯路:action=move_folders 或类型 upload_file(钩子是 upload_files);在 new_post 上使用 [post:title](id 仍是 add_post,该标签会提前退出;[acf:post_title] 读取提交的标题);文件字段为空(if ( ! $value ) return);仅凭成功 JSON;删除 wp-config.php。
端口 8088。Frontend Admin 3.29.12。预先放置的 /wp-content/poc19952/index.php。公开表单 /fea-files-lab/。
目标 仅限 127.0.0.1:8088(或你所绑定的回环地址)。
cd lab
docker compose up --force-recreate
python3 ../CVE-2026-19952-Abraxas-Labs.py
见证:在 POST 之前,GET /wp-content/poc19952/index.php 包含 POCWitness19952。POST 之后该字符串消失(404/301)。仅凭表单 JSON 成功并不足以说明问题。
以下情况属于未学到任何东西的失败:
POCWitness19952 仍然存在wp-config.php将 Frontend Admin by DynamiApps 更新至 3.29.13 或更高版本(get_safe_upload_dir)。对已修补的版本重新运行 CVE-2026-19952-Abraxas-Labs.py:见证文件必须仍然存在。
www.wordfence.com/threat-intel/vulnerabilities/id/55ec5101-6494-4180-9492-03863e839ad2?source=cve
Trac 浏览器:plugins.trac.wordpress.org/acf-frontend-form-element
Abraxas Labs:abraxaslabs.tech · github.com/abraxas · @abraxas_null
GNU Affero GPL v3.0。参见 LICENSE。
该客户端与回环地址通信。将其用于你并不拥有的系统,未获 Abraxas Labs 授权。不提供任何担保。