PT-2018-16206 · Oturia+1 · Oturia Smart Google Code Inserter+1
Benjamin Lim
·
Published
2018-01-01
·
Updated
2018-01-16
·
CVE-2018-3810
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Oturia Smart Google Code Inserter plugin versions prior to 3.5
Description
The issue allows unauthenticated attackers to insert arbitrary JavaScript or HTML code that runs on all pages served by WordPress. This is achieved via the
sgcgoogleanalytic parameter. 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.Recommendations
For Oturia Smart Google Code Inserter plugin versions prior to 3.5, update to version 3.5 or later to resolve the issue. As a temporary workaround, consider disabling the
saveGoogleCode() function in smartgooglecode.php until a patch is available. Restrict access to the sgcgoogleanalytic parameter to minimize the risk of exploitation.Exploit
Fix
Improper Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Oturia Smart Google Code Inserter
Wordpress