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.
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.
Link | Tags |
---|---|
https://wpvulndb.com/vulnerabilities/8988 | third party advisory vdb entry |
https://wordpress.org/plugins/smart-google-code-inserter/#developers | third party advisory release notes |
https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html | third party advisory exploit |
https://www.exploit-db.com/exploits/43420/ | third party advisory vdb entry exploit |