abraxaslabs.tech · github.com/abraxas · @abraxas_null · [email protected] · CVE-2026-13447
技术分析文章:https://abraxaslabs.tech/research/CVE-2026-13447
MStore API 4.18.4 - inspireui
我是 @abraxas_null。回环实验环境。客户端为 CVE-2026-13447-Abraxas-Labs.py。
kid 并不是签名。FirebasePhoneAuthHelper::verify_id_token 会检查 alg == RS256、kid 是否在 Google 的 x509 列表中、aud/iss 是否与上传的 Firebase project_id 匹配。然后它返回 phone_number。它从不调用 openssl_verify。HTTP 请求为 POST /wp-json/api/flutter_user/firebase_sms_v2,携带 JSON id_token。NVD 列出的受影响版本截至 4.20.0。实验环境中没有 4.20.0 的 zip 包;实际运行的是 4.18.4 代码树。已在 4.21.1 中修复。
| CVE | CVE-2026-13447 · CVE.org |
| CWE | CWE-287 |
| CVSS | 严重:9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 产品 | WordPress - MStore API |
| 受影响版本 | 所有版本 截至 4.20.0(实验环境为 4.18.4;无 4.20.0 zip 包) |
| 已修复版本 | 4.21.1 及更高版本 |
| 认证要求 | 无 |
| 许可证 | GNU Affero GPL v3.0 |
| 实验环境 | 仅 127.0.0.1 |
使用有效的 Google kid、匹配的 aud/iss,以及绑定到现有用户的 phone_number,伪造一个 RS256 JWT。将其 POST 提交。你就能获得 wp_user_id、cookie、displayname。如果该手机号属于管理员,那就是管理员权限。我不会打印该令牌。
Wordfence 指出了缺失的 openssl_verify。我阅读了该辅助函数,然后查看了 REST 路由,接着在实验环境中将一个手机号绑定到管理员。
获取 Google 的 x509。选择一个 kid。构建 RS256。POST {id_token}。以 displayname 为 POCWitness13447 的形式见证,外加一个 cookie。
走过的弯路:action=verify_id_token(主题或 REST 404);GET;alg 不是 RS256;随机 kid;aud/iss 与 project_id 不匹配(实验文件中为 poc13447);没有用户使用该 registered_phone_number(User does not exist);Firebase private key file is not found(缺少配置,而非签名问题)。
端口 8088。MStore API 4.18.4。上传的 Firebase JSON project_id=poc13447。管理员手机号元数据已绑定。
目标 仅限 127.0.0.1:8088(或你绑定的回环地址)。
cd lab
docker compose up --force-recreate
python3 ../CVE-2026-13447-Abraxas-Labs.py
见证:包含 wp_user_id、cookie、displayname POCWitness13447 的小型 JSON。id_token is invalid / 首页并非目标。
毫无收获的失败方式:
User does not exist将 MStore API 更新至 4.21.1 或更高版本。针对已修补的版本重新运行 CVE-2026-13447-Abraxas-Labs.py:伪造的 JWT 必须无法让任何人登录。
plugins.trac.wordpress.org/browser/mstore-api/tags/4.18.4/controllers/flutter-user.php#L829
plugins.trac.wordpress.org/browser/mstore-api/tags/4.18.4/controllers/flutter-user.php#L940
plugins.trac.wordpress.org/browser/mstore-api/trunk/controllers/flutter-user.php#L829
plugins.trac.wordpress.org/browser/mstore-api/trunk/controllers/flutter-user.php#L940
www.wordfence.com/threat-intel/vulnerabilities/id/4a1127af-74f6-4748-9aee-5a8c6c2766a4?source=cve
插件目录:mstore-api
Abraxas Labs:abraxaslabs.tech · github.com/abraxas · @abraxas_null
GNU Affero GPL v3.0。参见 LICENSE。
该客户端仅与回环地址通信。将其用于您不拥有的系统并未获得 Abraxas Labs 的授权。不提供任何担保。