Smart Google Code Inserter: SQL injection
Smart Google Code Inserter is affected by SQL injection. The vulnerable path is reachable without authentication. A successful request can alter database queries and expose or modify WordPress data.
- Component
- Smart Google Code Inserter
- Plugin slug
smart-google-code-inserter- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Jan 01, 2018
This CVE was published Jan 01, 2018 and is one of 2 known issues for this plugin.
Update, patch or deactivate.
Update Smart Google Code Inserter to a release outside the affected range, or disable and remove it until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical 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.
NVD vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary and upstream sources
- NVD record for CVE-2018-3811
- Upstream reference limbenjamin.com
- WordPress.org plugin page wordpress.org
- Upstream reference wpvulndb.com
- Upstream reference exploit-db.com
- Upstream reference limbenjamin.com
- WordPress.org plugin page wordpress.org
- Upstream reference wpvulndb.com
- Upstream reference exploit-db.com