CVE-2018-3811 SQL injection in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary SQL queries via the Oturia Smart Google Code Inserter plugin, potentially reading or modifying database content.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-3811?

CVE-2018-3811 is a critical SQL injection vulnerability in n/a, published on 1 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SQL Injection vulnerability in the Oturia Smart Google Code Inserter plugin before 3.5 for WordPress allows unauthenticated attackers to execute SQL queries in the context of the web server. The saveGoogleAdWords() function in smartgooglecode.php did not use prepared statements and did not sanitize the $_POST["oId"] variable before passing it as input into the SQL query.

Weakness: CWE-89

Which versions are affected by CVE-2018-3811?

It affects 1 product.

Products include Oturia Smart Google Code Inserter.

How do I fix CVE-2018-3811?

No fix has been published for CVE-2018-3811 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-3811 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-3811 exists.

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-cfg5-442r-vwqv.

Is CVE-2018-3811 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free