** 描述
- CVE-2022-24990 的 POC:通过 PHP 对象实例化在 TerraMaster TOS 中实现未认证远程命令执行。
- 由 antx 于 2022-04-12 创建。
** 详情
- 该漏洞允许远程攻击者在目标系统上执行任意命令。
- 该漏洞是由于 api.php 脚本中的 webNasIPS 组件对输入验证不当所致。远程未认证攻击者可以向应用程序传递特制数据,并在目标系统上执行任意命令。
- 成功利用此漏洞可能导致易受攻击的系统被完全攻破。
** CVE 严重性
- attackComplexity: LOW
- attackVector: NETWORK
- availabilityImpact: HIGH
- confidentialityImpact: HIGH
- integrityImpact: HIGH
- privilegesRequired: NONE
- scope: UNCHANGED
- userInteraction: NONE
- version: 3.1
- baseScore: 10.0
- baseSeverity: CRITICAL
** 影响范围
- TerraMaster TOS
- < 4.2.30
- 所有 4.1.x 版本
** POC
- [[./CVE-2022-24990.py][Poc]]
** 参考
- 参考来源
- [[https://github.com/lishang520/CVE-2022-24990][CVE-2022-24990信息泄露+RCE 一条龙]]
- [[https://www.cybersecurity-help.cz/vdb/SB2022031606][TerraMaster TOS 中的命令注入]]
- CVE
- [[http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24990][CVE-2022-24990]]
- CNVD
- [[https://www.cnvd.org.cn/flaw/show/CNVD-2022-17750][CNVD-2022-17750]]
- CNNVD
- [[http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-202203-1539][CNNVD-202203-1539]]
- PoC 引擎参考
- [[https://github.com/antx-code/pocx][pocx]]