{"api_version":"1","generated_at":"2026-07-23T13:14:23+00:00","cve":"CVE-2018-3811","urls":{"html":"https://cve.report/CVE-2018-3811","api":"https://cve.report/api/cve/CVE-2018-3811.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-3811","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-3811"},"summary":{"title":"CVE-2018-3811","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-01-01 06:29:00","updated_at":"2018-01-16 18:39:00"},"problem_types":["CWE-89"],"metrics":[],"references":[{"url":"https://wordpress.org/plugins/smart-google-code-inserter/#developers","name":"https://wordpress.org/plugins/smart-google-code-inserter/#developers","refsource":"MISC","tags":["Release Notes","Third Party Advisory"],"title":"Smart Google Code Inserter – WordPress plugin | WordPress.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://wpvulndb.com/vulnerabilities/8988","name":"https://wpvulndb.com/vulnerabilities/8988","refsource":"MISC","tags":["Third Party Advisory","VDB Entry"],"title":"Smart Google Code Inserter <= 3.4 - Unauthenticated SQL Injection","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html","name":"https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Smart Google Code Inserter < 3.5 - Auth Bypass/SQLi","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/43420/","name":"43420","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"WordPress Plugin Smart Google Code Inserter < 3.5 - Authentication Bypass / SQL Injection - PHP webapps Exploit","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-3811","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3811","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"3811","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oturia","cpe5":"smart_google_code_inserter","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"3811","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oturia","cpe5":"smart_google_code_inserter","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"wordpress","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-3811","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://wpvulndb.com/vulnerabilities/8988","refsource":"MISC","url":"https://wpvulndb.com/vulnerabilities/8988"},{"name":"https://wordpress.org/plugins/smart-google-code-inserter/#developers","refsource":"MISC","url":"https://wordpress.org/plugins/smart-google-code-inserter/#developers"},{"name":"https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html","refsource":"MISC","url":"https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html"},{"name":"43420","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/43420/"}]}},"nvd":{"publishedDate":"2018-01-01 06:29:00","lastModifiedDate":"2018-01-16 18:39:00","problem_types":["CWE-89"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oturia:smart_google_code_inserter:*:*:*:*:*:wordpress:*:*","versionEndExcluding":"3.5","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"3811","Ordinal":"119683","Title":"CVE-2018-3811","CVE":"CVE-2018-3811","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"3811","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"3811","Ordinal":"2","NoteData":"2018-01-01","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"3811","Ordinal":"3","NoteData":"2018-01-09","Type":"Other","Title":"Modified"}]}}}