← 返回地图破甲

Post-Auth Blind NoSQL Injection in the users.list API leads to Remote Code Execution

SQL 注入 / Unlabeled / #1130874

厂商
Rocket.Chat
严重程度
中危 · CVSS 8.8
赏金
—
弱点
Unlabeled
研究员
@sonarsource
披露日期
2021-07-31
资产
—
CVE
CVE-2021-22910

该报告还没有中文解读。

原文摘录

摘自原文(6707 字符中的一小部分)
**Summary:** The `users.list` API endpoint is vulnerable to NoSQL injection attacks. It can be used to take over accounts by leaking password reset tokens and 2FA secrets. Taking over an admin account leads to Remote Code Execution.
原文中的代码
 ___  ___  _ __   __ _ _ __ ___  ___  _   _ _ __ ___ ___ 
/ __|/ _ \| '_ \ / _` | '__/ __|/ _ \| | | | '__/ __/ _ \
\__ \ (_) | | | | (_| | |  \__ \ (_) | |_| | | | (_|  __/
|___/\___/|_| |_|\__,_|_|  |___/\___/ \__,_|_|  \___\___|

[+] Found admin: username=admin id=56gyPQKt8Ff3Weowk
[*] Leaking …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Rocket.Chat 所有。

时间线

阅读 HackerOne 原文 ↗作者 @sonarsource · 版权归作者与 Rocket.Chat 所有

同类报告

SQL Injection Union BasedAutomattic · 2021-01-01SQL injection at https://sea-web.gold.razer.com/demo-th/goto-e2p-web-api.php via Multiple ParametersRazer · — · $2,000CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list()Internet Bug Bounty · 2024-08-24 · $4,263Pre-Auth Blind NoSQL Injection leading to Remote Code ExecutionRocket.Chat · 2021-05-18C++: Support Pqxx connector to search for sql injections to PostgresGitHub Security Lab · — · $4,500Golang : Add MongoDb NoSQL injection sinksGitHub Security Lab · —