{"id":"CVE-2018-3811","published":"2018-01-01T06:00:00Z","modified":"2024-08-05T04:57:22Z","title":"SQL Injection vulnerability in the Oturia Smart Google Code Inserter plugin before 3.5 for WordPress allows…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.42283,"percentile":0.98729,"provenance":"source"},"cwes":[],"references":[{"url":"https://wpvulndb.com/vulnerabilities/8988","tags":["x_refsource_MISC"]},{"url":"https://wordpress.org/plugins/smart-google-code-inserter/#developers","tags":["x_refsource_MISC"]},{"url":"https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/43420/","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.75},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-01-03"},"pocGithub":{"count":1,"skipped":0,"earliest":"2019-02-02","earliestUrl":"https://github.com/cved-sources/cve-2018-3811","repos":[{"name":"cved-sources/cve-2018-3811","url":"https://github.com/cved-sources/cve-2018-3811","stars":0,"created":"2019-02-02"}]},"first":{"date":"2018-01-03","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/43420"},"provenance":"source"},"summary":{"text":"The Oturia Smart Google Code Inserter plugin for WordPress, before version 3.5, contains a SQL injection flaw in the saveGoogleAdWords() function of smartgooglecode.php, which passes the unsanitized $_POST[\"oId\"] value directly into a SQL query without prepared statements. An unauthenticated remote attacker can exploit this by submitting crafted input to that parameter to execute arbitrary SQL queries in the context of the web server, with no prior authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:47Z"},"euvd":{"id":"EUVD-2018-15600","exploited":false,"provenance":"source"},"exploits":[{"id":43420,"url":"https://www.exploit-db.com/exploits/43420","title":"WordPress Plugin Smart Google Code Inserter < 3.5 - Authentication Bypass / SQL Injection","date":"2018-01-03","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/43420/"]}