CVE-2020-35666 SQL injection in n/a
Attackers can perform NoSQL injection via the findone API endpoint to read or modify data in the Steedos Platform.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-35666?
CVE-2020-35666 is a high-severity SQL injection vulnerability in n/a, published on 23 Dec 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Steedos Platform through 1.21.24 allows NoSQL injection because the /api/collection/findone implementation in server/packages/steedos_base.js mishandles req.body validation, as demonstrated by MongoDB operator attacks such as an X-User-Id[$ne]=1 value.
Weakness: CWE-89
Which versions are affected by CVE-2020-35666?
It affects 1 product.
Products include Steedos Steedos.
How do I fix CVE-2020-35666?
No fix has been published for CVE-2020-35666 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2020-35666 being exploited?
There is no known exploitation of CVE-2020-35666 in the wild and no public exploit code.
Sources
Also known as GHSA-q7pj-xc3r-rm4w.