Smart Google Code Inserter: Privilege escalation or authentication bypass
Smart Google Code Inserter is affected by privilege escalation or authentication bypass. The vulnerable path is reachable without authentication. A successful request can grant permissions or access that the caller should not possess.
- 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
Authentication Bypass vulnerability in the Oturia Smart Google Code Inserter plugin before 3.5 for WordPress allows unauthenticated attackers to insert arbitrary JavaScript or HTML code (via the sgcgoogleanalytic parameter) that runs on all pages served by WordPress. The saveGoogleCode() function in smartgooglecode.php does not check if the current request is made by an authorized user, thus allowing any unauthenticated user to successfully update the inserted code.
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-3810
- 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