CVE-2018-3882 SQL injection in n/a
Authenticated attackers can exploit SQL injection in the searchfield parameter to compromise data in ERPNext.
- 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-3882?
CVE-2018-3882 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 searchfield 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-3882?
It affects 1 product.
Products include Frappe Erpnext.
How do I fix CVE-2018-3882?
No fix has been published for CVE-2018-3882 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-3882 being exploited?
There is no known exploitation of CVE-2018-3882 in the wild and no public exploit code.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-8r3r-q238-j872.