CVE-2018-18476 mysql-bunuuid-rails vulnerable to SQL injection
An SQL injection vulnerability in the mysql-binuuid-rails gem allows attackers to manipulate database queries by bypassing default string escaping.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-18476?
CVE-2018-18476 is a critical SQL injection vulnerability in n/a, published on 24 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
mysql-binuuid-rails 1.1.0 and earlier allows SQL Injection because it removes default string escaping for affected database columns.
Weakness: CWE-89
Which versions are affected by CVE-2018-18476?
2 open source packages ship an affected version, including mysql-binuuid-rails. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mysql-binuuid-rails RubyGems | All versions | 1.1.1 |
mysql-binuuid-rails RubyGems | All versions | 1.1.1 |
Products include Nedap Mysql-Binuuid-Rails.
How do I fix CVE-2018-18476?
Upgrade mysql-binuuid-rails to 1.1.1 or later.
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-18476 being exploited?
There is no known exploitation of CVE-2018-18476 in the wild and no public exploit code.
Sources
Also known as GHSA-6j63-35hj-vmcg.