目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2020-35848 PoC — Agentejo Cockpit SQL注入漏洞

来源
关联漏洞
标题: Agentejo Cockpit SQL注入漏洞 (CVE-2020-35848)
Description:Agentejo Cockpit是德国Agentejo公司的一款用于管理网站结构化内容的管理系统。 Agentejo Cockpit 0.11.2之前版本存在SQL注入漏洞,该漏洞允许通过控制器Auth.php newpassword函数注入NoSQL。
Description
CVE-2020-35848 impacts Cockpit-CMS v1.7 due to unsafe handling of user inputs in authentication mechanisms, leading to remote code execution. This lab is built for CTF players and bug bounty learners to simulate real-world exploitation workflows including token extraction, password reset, and flag capture.
介绍
🧨 CVE‑2020‑35848 – Cockpit CMS < 0.11.2 NoSQL Injection (RCE) Lab
CVE‑2020‑35848 affects Agentejo Cockpit CMS versions before 0.11.2, introducing a critical NoSQL injection vulnerability in the /auth/newpassword endpoint. This flaw allows unauthenticated attackers to inject MongoDB operators into password-reset requests, enabling them to:

Enumerate valid usernames

Extract password-reset tokens

Reset passwords for arbitrary accounts

Chain into remote code execution via file uploads or custom admin actions 
Check Point Software
+11
NVD
+11
GitHub
+11
FortiGuard Labs
+2
Exploit Database
+2
GitHub
+2
Feedly
+1
GitHub
+1

📊 NVD Severity Metrics
CVSS v3.1 Score: 9.8 (Critical) — network exploit, no privileges or user interaction required, high impacts on confidentiality, integrity, availability 
NVD
+1
NVD
+1

CWE-89: NoSQL Injection (Improper neutralization of special elements—commands injected into database queries) 
Check Point Software
+10
NVD
+10
CVE Details
+10

🧪 Lab Features
Dockerized vulnerable instance of Cockpit CMS v0.11.1

Simulates user enumeration, token exfiltration, and password reset flows

Contains pre-built scripts (e.g., automated_exploit.sh) to demonstrate full exploitation path:

Username enumeration via injection in /auth/requestreset

Token extraction using /auth/newpassword

Password reset via /auth/resetpassword

Admin login & web flag retrieval

(Optional) RCE via admin-accessible upload or webhook endpoints

Challenges extend to manual privilege escalation to uncover system flags
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →