CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
75.1%
Grammarly Spell Checker for Google Chrome is prone to an information disclosure vulnerability.
# SPDX-FileCopyrightText: 2018 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.812697");
script_version("2023-07-20T05:05:17+0000");
script_cve_id("CVE-2018-6654");
script_tag(name:"cvss_base", value:"6.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2023-07-20 05:05:17 +0000 (Thu, 20 Jul 2023)");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-10-03 00:03:00 +0000 (Thu, 03 Oct 2019)");
script_tag(name:"creation_date", value:"2018-02-08 14:22:37 +0530 (Thu, 08 Feb 2018)");
script_name("Grammarly Extension For Google Chrome Information Disclosure Vulnerability - Linux");
script_tag(name:"summary", value:"Grammarly Spell Checker for Google Chrome is prone to an information disclosure vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The flaw exists as the extension exposes its
auth tokens to all websites");
script_tag(name:"impact", value:"Successful exploitation of this vulnerability
will allow any user to login grammarly.com as victim and access all his documents,
history, logs, and all other data.");
script_tag(name:"affected", value:"Grammarly extension before 14.826.1446 for
Chrome on Linux.");
script_tag(name:"solution", value:"Upgrade to Grammarly extension 14.826.1446
or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"executable_version");
script_xref(name:"URL", value:"https://bugs.chromium.org/p/project-zero/issues/detail?id=1527&desc=2");
script_xref(name:"URL", value:"https://thehackernews.com/2018/02/grammar-checking-software.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2018 Greenbone AG");
script_family("General");
script_dependencies("gb_google_chrome_detect_lin.nasl");
script_mandatory_keys("Google-Chrome/Linux/Ver");
exit(0);
}
include("ssh_func.inc");
include("version_func.inc");
include("host_details.inc");
sock = ssh_login_or_reuse_connection();
if(!sock)
exit(0);
paths = ssh_find_file(file_name:"/Grammarly\.html$", useregex:TRUE, sock:sock);
if(!paths){
exit(0);
}
foreach path (paths)
{
file = chomp(path);
ver = eregmatch(pattern:"(.*(g|G)oogle.(c|C)hrome.*(e|E)xtensions.*[A-za-z]+/([0-9.]+).*)(g|G)rammarly.html", string:file );
if(!ver[5]){
continue;
}
version = ver[5];
filePath = ver[0];
if(version_is_less(version:version, test_version:"14.826.1446"))
{
report = report_fixed_ver(installed_version:version, fixed_version:"14.826.1446", install_path:filePath);
security_message(data:report);
exit(0);
}
}
exit(0);
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
75.1%