CVE-2018-3885 SQL injection in ERPNext
Authenticated attackers can exploit SQL injection in ERPNext via the order_by parameter to compromise data integrity and confidentiality.
- 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-2018-3885?
CVE-2018-3885 is a medium-severity SQL injection vulnerability in Frappe Erpnext, published on 12 Sep 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Specially crafted web requests can cause SQL injections resulting in data compromise. The order_by parameter can be used to perform an SQL injection attack. An attacker can use a browser to trigger these vulnerabilities, and no special tools are required.
Weakness: CWE-89
Which versions are affected by CVE-2018-3885?
It affects 1 product.
Products include Frappe Erpnext.
How do I fix CVE-2018-3885?
No fix has been published for CVE-2018-3885 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-2018-3885 being exploited?
There is no known exploitation of CVE-2018-3885 in the wild and no public exploit code.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-5x9m-2fcv-3q75.