Vulnerability Details : CVE-2020-35847
Public exploit exists!
Agentejo Cockpit before 0.11.2 allows NoSQL injection via the Controller/Auth.php resetpassword function.
Vulnerability category: Sql Injection
Products affected by CVE-2020-35847
- cpe:2.3:a:agentejo:cockpit:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-35847
93.91%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 100 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2020-35847
-
Cockpit CMS NoSQLi to RCE
Disclosure Date: 2021-04-13First seen: 2021-04-21exploit/multi/http/cockpit_cms_rceThis module exploits two NoSQLi vulnerabilities to retrieve the user list, and password reset tokens from the system. Next, the USER is targetted to reset their password. Then a command injection vulnerability is used to execute the payload. While
CVSS scores for CVE-2020-35847
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2020-35847
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-35847
-
https://github.com/agentejo/cockpit/commit/2a385af8d80ed60d40d386ed813c1039db00c466
remove $fn, $func, $f as field filter ... add $where as an alternativ… · agentejo/cockpit@2a385af · GitHubPatch;Vendor Advisory
-
https://getcockpit.com/
CockpitProduct;Vendor Advisory
-
https://github.com/agentejo/cockpit/commit/33e7199575631ba1f74cba6b16b10c820bec59af
don't allow callable strings for $func (MongoLite) · agentejo/cockpit@33e7199 · GitHubPatch;Vendor Advisory
-
http://packetstormsecurity.com/files/163762/Cockpit-CMS-0.11.1-NoSQL-Injection.html
Cockpit CMS 0.11.1 NoSQL Injection ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
http://packetstormsecurity.com/files/162282/Cockpit-CMS-0.11.1-NoSQL-Injection-Remote-Command-Execution.html
Cockpit CMS 0.11.1 NoSQL Injection / Remote Command Execution ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://github.com/agentejo/cockpit/commit/79fc9631ffa29146e3124ceaf99879b92e1ef24b
fix possible security issue for login · agentejo/cockpit@79fc963 · GitHubPatch;Vendor Advisory
Jump to