4.3 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
AV:N/AC:M/Au:N/C:N/I:P/A:N
5.2 Medium
AI Score
Confidence
High
0.001 Low
EPSS
Percentile
50.7%
Google Chrome is prone to a cross-site scripting (XSS) vulnerability.
# SPDX-FileCopyrightText: 2012 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.802498");
script_version("2024-02-15T05:05:39+0000");
script_cve_id("CVE-2012-5851");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_tag(name:"last_modification", value:"2024-02-15 05:05:39 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2012-11-21 15:15:03 +0530 (Wed, 21 Nov 2012)");
script_name("Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability - Mac OS X");
script_xref(name:"URL", value:"https://bugs.webkit.org/show_bug.cgi?id=92692");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/56570");
script_xref(name:"URL", value:"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html");
script_copyright("Copyright (C) 2012 Greenbone AG");
script_category(ACT_GATHER_INFO);
script_family("General");
script_dependencies("gb_google_chrome_detect_macosx.nasl");
script_mandatory_keys("GoogleChrome/MacOSX/Version");
script_tag(name:"impact", value:"Successful exploitation will allow attackers to bypass a
cross-site scripting (XSS) protection mechanism via a crafted string.");
script_tag(name:"affected", value:"Google Chrome version 4.x to 22 on Mac OS X");
script_tag(name:"insight", value:"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in
WebKit does not consider all possible output contexts of reflected data.");
script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure of this vulnerability.
Likely none will be provided anymore.
General solution options are to upgrade to a newer release, disable respective features, remove the product or replace the product by another one.");
script_tag(name:"summary", value:"Google Chrome is prone to a cross-site scripting (XSS) vulnerability.");
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"WillNotFix");
exit(0);
}
include("version_func.inc");
chromeVer = get_kb_item("GoogleChrome/MacOSX/Version");
if(!chromeVer){
exit(0);
}
if(version_is_greater_equal(version:chromeVer, test_version:"4") &&
version_is_less(version:chromeVer, test_version:"23")){
security_message( port: 0, data: "The target host was found to be vulnerable" );
}