Smart Google Code Inserter < 3.5 - Unauthenticated SQL Injection

2018-01-01 00:00
Benjamin Lim

Strategic Overview

Status
Patched in 3.5
Affected Version< 3.5
CVSS9.8Critical
CVECVE-2018-3811
View all Smart Google Code Inserter vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to version 3.5, or a newer patched version --- IDENTIFIER: CWE-89 (Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C