ID SSV:60470 Type seebug Reporter Root Modified 2012-11-19T00:00:00
Description
CVE ID:CVE-2012-5851
WebKit是一款开放源代码的浏览器引擎。
Google Chrome 22及Safari 5.1.7使用的WebKit中WebCore html/parser/XSSAuditor.cpp没有考虑到所有可能的反射数据所输出的内容,允许攻击者通过特制的字符串比较容易的绕过跨站脚本保护机制。
0
Google Chrome 22使用的WebKit
Apple Safari 5.1.7使用的WebKit
目前没有详细解决方案提供:
http://www.webkit.org
{"cve": [{"lastseen": "2020-12-09T19:47:26", "description": "html/parser/XSSAuditor.cpp in WebCore in WebKit, as used in Google Chrome through 22 and Safari 5.1.7, does not consider all possible output contexts of reflected data, which makes it easier for remote attackers to bypass a cross-site scripting (XSS) protection mechanism via a crafted string, aka rdar problem 12019108.", "edition": 5, "cvss3": {}, "published": "2012-11-15T11:58:00", "title": "CVE-2012-5851", "type": "cve", "cwe": ["CWE-79"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2012-5851"], "modified": "2017-08-29T01:32:00", "cpe": ["cpe:/a:google:chrome:22.0.1229.29", "cpe:/a:google:chrome:22.0.1229.18", "cpe:/a:google:chrome:22.0.1229.28", "cpe:/a:google:chrome:22.0.1229.57", "cpe:/a:google:chrome:22.0.1229.6", "cpe:/a:google:chrome:22.0.1229.26", "cpe:/a:google:chrome:22.0.1229.60", "cpe:/a:google:chrome:22.0.1229.78", "cpe:/a:google:chrome:22.0.1229.11", "cpe:/a:google:chrome:22.0.1229.48", "cpe:/a:google:chrome:22.0.1229.23", "cpe:/a:google:chrome:22.0.1229.91", "cpe:/a:google:chrome:22.0.1229.65", "cpe:/a:google:chrome:22.0.1229.7", "cpe:/a:google:chrome:22.0.1229.2", "cpe:/a:google:chrome:22.0.1229.12", "cpe:/a:google:chrome:22.0.1229.17", "cpe:/a:google:chrome:22.0.1229.37", "cpe:/a:google:chrome:22.0.1229.27", "cpe:/a:google:chrome:22.0.1229.22", "cpe:/a:apple:safari:5.1.7", "cpe:/a:google:chrome:22.0.1229.4", "cpe:/a:google:chrome:22.0.1229.31", "cpe:/a:google:chrome:22.0.1229.94", "cpe:/a:google:chrome:22.0.1229.92", "cpe:/a:google:chrome:22.0.1229.59", "cpe:/a:google:chrome:22.0.1229.64", "cpe:/a:apple:webkit:*", "cpe:/a:google:chrome:22.0.1229.56", "cpe:/a:google:chrome:22.0.1229.79", "cpe:/a:google:chrome:22.0.1229.36", "cpe:/a:google:chrome:22.0.1229.55", "cpe:/a:google:chrome:22.0.1229.50", "cpe:/a:google:chrome:22.0.1229.39", "cpe:/a:google:chrome:22.0.1229.53", "cpe:/a:google:chrome:22.0.1229.67", "cpe:/a:google:chrome:22.0.1229.52", "cpe:/a:google:chrome:22.0.1229.0", "cpe:/a:google:chrome:22.0.1229.8", "cpe:/a:google:chrome:22.0.1229.9", "cpe:/a:google:chrome:22.0.1229.3", "cpe:/a:google:chrome:22.0.1229.54", "cpe:/a:google:chrome:22.0.1229.89", "cpe:/a:google:chrome:22.0.1229.24", "cpe:/a:google:chrome:22.0.1229.20", "cpe:/a:google:chrome:22.0.1229.25", "cpe:/a:google:chrome:22.0.1229.16", "cpe:/a:google:chrome:22.0.1229.96", "cpe:/a:google:chrome:22.0.1229.51", "cpe:/a:google:chrome:22.0.1229.62", "cpe:/a:google:chrome:22.0.1229.63", "cpe:/a:google:chrome:22.0.1229.14", "cpe:/a:google:chrome:22.0.1229.49", "cpe:/a:google:chrome:22.0.1229.21", "cpe:/a:google:chrome:22.0.1229.76", "cpe:/a:google:chrome:22.0.1229.35", "cpe:/a:google:chrome:22.0.1229.33", "cpe:/a:google:chrome:22.0.1229.10", "cpe:/a:google:chrome:22.0.1229.32", "cpe:/a:google:chrome:22.0.1229.1", "cpe:/a:google:chrome:22.0.1229.58", "cpe:/a:google:chrome:22.0.1229.95"], "id": "CVE-2012-5851", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5851", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cpe23": ["cpe:2.3:a:google:chrome:22.0.1229.78:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.37:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.2:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.8:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.14:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.39:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.7:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.26:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.6:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.64:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.16:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.53:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.55:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.67:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.17:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.79:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.18:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.89:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.91:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.24:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.49:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.51:*:*:*:*:*:*:*", "cpe:2.3:a:apple:safari:5.1.7:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.12:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.76:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.11:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.32:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.92:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.0:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.48:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.62:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.57:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.23:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.10:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.58:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.3:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.29:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.94:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.9:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.56:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.35:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.52:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.59:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.54:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.4:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.60:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.96:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.1:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.25:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.22:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.36:*:*:*:*:*:*:*", "cpe:2.3:a:apple:webkit:*:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.20:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.95:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.63:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.28:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.27:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.50:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.21:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.31:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.65:*:*:*:*:*:*:*", "cpe:2.3:a:google:chrome:22.0.1229.33:*:*:*:*:*:*:*"]}], "openvas": [{"lastseen": "2019-05-29T18:39:14", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.", "modified": "2018-09-22T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:1361412562310802498", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310802498", "type": "openvas", "title": "Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_google_chrome_webcore_webkit_xss_vuln_macosx.nasl 11549 2018-09-22 12:11:10Z cfischer $\n#\n# Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.802498\");\n script_version(\"$Revision: 11549 $\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"$Date: 2018-09-22 14:11:10 +0200 (Sat, 22 Sep 2018) $\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 15:15:03 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)\");\n script_xref(name:\"URL\", value:\"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name:\"URL\", value:\"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (c) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"gb_google_chrome_detect_macosx.nasl\");\n script_mandatory_keys(\"GoogleChrome/MacOSX/Version\");\n script_tag(name:\"impact\", value:\"Successful exploitation will allow attackers to bypass a\ncross-site scripting (XSS) protection mechanism via a crafted string.\");\n script_tag(name:\"affected\", value:\"Google Chrome version 4.x to 22 on Mac OS X\");\n script_tag(name:\"insight\", value:\"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\nWebKit does not consider all possible output contexts of reflected data.\");\n script_tag(name:\"solution\", value:\"No known solution was made available for at least one year since the disclosure of this vulnerability.\nLikely none will be provided anymore.\nGeneral solution options are to upgrade to a newer release, disable respective features, remove the product or replace the product by another one.\");\n script_tag(name:\"summary\", value:\"This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.\");\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\nchromeVer = get_kb_item(\"GoogleChrome/MacOSX/Version\");\nif(!chromeVer){\n exit(0);\n}\n\nif(version_is_greater_equal(version:chromeVer, test_version:\"4\") &&\n version_is_less(version:chromeVer, test_version:\"23\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" );\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}, {"lastseen": "2020-03-03T20:58:45", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Apple Safari and is prone to cross\n site scripting vulnerability.", "modified": "2020-02-28T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:1361412562310802499", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310802499", "type": "openvas", "title": "Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (C) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nCPE = \"cpe:/a:apple:safari\";\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.802499\");\n script_version(\"2020-02-28T13:41:47+0000\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"2020-02-28 13:41:47 +0000 (Fri, 28 Feb 2020)\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 15:41:09 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)\");\n script_xref(name:\"URL\", value:\"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name:\"URL\", value:\"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (C) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"secpod_apple_safari_detect_win_900003.nasl\");\n script_mandatory_keys(\"AppleSafari/Version\");\n\n script_tag(name:\"impact\", value:\"Successful exploitation will allow attackers to bypass a cross-\n site scripting (XSS) protection mechanism via a crafted string.\");\n\n script_tag(name:\"affected\", value:\"Apple Safari version 5.1.7 on Windows.\");\n\n script_tag(name:\"insight\", value:\"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\n WebKit does not consider all possible output contexts of reflected data.\");\n\n script_tag(name:\"solution\", value:\"No known solution was made available for at least one year\n since the disclosure of this vulnerability. Likely none will be provided anymore.\n General solution options are to upgrade to a newer release, disable respective\n features, remove the product or replace the product by another one.\");\n\n script_tag(name:\"summary\", value:\"This host is installed with Apple Safari and is prone to cross\n site scripting vulnerability.\");\n\n script_tag(name:\"qod_type\", value:\"registry\");\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n exit(0);\n}\n\ninclude(\"version_func.inc\");\ninclude(\"host_details.inc\");\n\nif(!infos = get_app_version_and_location(cpe:CPE, exit_no_version:TRUE))\n exit(0);\n\nvers = infos[\"version\"];\npath = infos[\"location\"];\n\nif(version_is_less_equal(version:vers, test_version:\"5.34.57.2\")) {\n report = report_fixed_ver(installed_version:vers, fixed_version:\"None\", install_path:path);\n security_message(port:0, data:report);\n exit(0);\n}\n\nexit(99);\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}, {"lastseen": "2019-05-29T18:39:13", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.", "modified": "2018-09-22T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:1361412562310802496", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310802496", "type": "openvas", "title": "Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_google_chrome_webcore_webkit_xss_vuln_win.nasl 11549 2018-09-22 12:11:10Z cfischer $\n#\n# Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.802496\");\n script_version(\"$Revision: 11549 $\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"$Date: 2018-09-22 14:11:10 +0200 (Sat, 22 Sep 2018) $\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 13:29:23 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)\");\n script_xref(name:\"URL\", value:\"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name:\"URL\", value:\"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (c) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"gb_google_chrome_detect_portable_win.nasl\");\n script_mandatory_keys(\"GoogleChrome/Win/Ver\");\n script_tag(name:\"impact\", value:\"Successful exploitation will allow attackers to bypass a cross-\nsite scripting (XSS) protection mechanism via a crafted string.\");\n script_tag(name:\"affected\", value:\"Google Chrome version 4.x to 22 on Windows\");\n script_tag(name:\"insight\", value:\"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\nWebKit does not consider all possible output contexts of reflected data.\");\n script_tag(name:\"solution\", value:\"No known solution was made available for at least one year\nsince the disclosure of this vulnerability. Likely none will be provided anymore.\nGeneral solution options are to upgrade to a newer release, disable respective\nfeatures, remove the product or replace the product by another one.\");\n script_tag(name:\"summary\", value:\"This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.\");\n script_tag(name:\"qod_type\", value:\"registry\");\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\nchromeVer = get_kb_item(\"GoogleChrome/Win/Ver\");\nif(!chromeVer){\n exit(0);\n}\n\nif(version_is_greater_equal(version:chromeVer, test_version:\"4\") &&\n version_is_less(version:chromeVer, test_version:\"23\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" );\n exit(0);\n}\n\nexit(99);\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}, {"lastseen": "2017-07-02T21:10:36", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.", "modified": "2017-04-17T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:802497", "href": "http://plugins.openvas.org/nasl.php?oid=802497", "type": "openvas", "title": "Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Linux)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_google_chrome_webcore_webkit_xss_vuln_lin.nasl 5958 2017-04-17 09:02:19Z teissa $\n#\n# Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Linux)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ntag_impact = \"Successful exploitation will allow attackers to bypass a\ncross-site scripting (XSS) protection mechanism via a crafted string.\n\nImpact Level: Application\";\n\ntag_affected = \"Google Chrome version 4.x to 22 on Linux\";\n\ntag_insight = \"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\nWebKit does not consider all possible output contexts of reflected data.\";\n\ntag_solution = \"No solution or patch was made available for at least one year\nsince disclosure of this vulnerability. Likely none will be provided anymore.\nGeneral solution options are to upgrade to a newer release, disable respective\nfeatures, remove the product or replace the product by another one.\";\n\ntag_summary = \"This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.\";\n\nif(description)\n{\n script_id(802497);\n script_version(\"$Revision: 5958 $\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-04-17 11:02:19 +0200 (Mon, 17 Apr 2017) $\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 15:15:03 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Linux)\");\n script_xref(name : \"URL\" , value : \"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name : \"URL\" , value : \"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (c) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"gb_google_chrome_detect_lin.nasl\");\n script_require_keys(\"Google-Chrome/Linux/Ver\");\n script_tag(name : \"impact\" , value : tag_impact);\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n script_tag(name:\"qod_type\", value:\"executable_version\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\n## Variable Initialization\nchromeVer = \"\";\n\n## Get the version from KB\nchromeVer = get_kb_item(\"Google-Chrome/Linux/Ver\");\nif(!chromeVer){\n exit(0);\n}\n\n## Check for Google Chrome Versions 4 to 22\nif(version_is_greater_equal(version:chromeVer, test_version:\"4\") &&\n version_is_less(version:chromeVer, test_version:\"23\")){\n security_message(0);\n}\n", "cvss": {"score": 4.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:NONE/I:PARTIAL/A:NONE/"}}, {"lastseen": "2017-07-19T10:50:35", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Apple Safari and is prone to cross\nsite scripting vulnerability.", "modified": "2017-07-04T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:803108", "href": "http://plugins.openvas.org/nasl.php?oid=803108", "type": "openvas", "title": "Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_apple_safari_webcore_webkit_xss_vuln_macosx.nasl 6521 2017-07-04 14:51:10Z cfischer $\n#\n# Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ntag_impact = \"Successful exploitation will allow attackers to bypass a\ncross-site scripting (XSS) protection mechanism via a crafted string.\n\nImpact Level: Application\";\n\ntag_affected = \"Apple Safari version 5.1.7 on Mac OS X\";\n\ntag_insight = \"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\nWebKit does not consider all possible output contexts of reflected data.\";\n\ntag_solution = \"No solution or patch was made available for at least one year\nsince disclosure of this vulnerability. Likely none will be provided anymore.\nGeneral solution options are to upgrade to a newer release, disable respective\nfeatures, remove the product or replace the product by another one.\";\n\ntag_summary = \"This host is installed with Apple Safari and is prone to cross\nsite scripting vulnerability.\";\n\nif(description)\n{\n script_id(803108);\n script_version(\"$Revision: 6521 $\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-04 16:51:10 +0200 (Tue, 04 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 16:01:28 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)\");\n script_xref(name : \"URL\" , value : \"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name : \"URL\" , value : \"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (c) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"macosx_safari_detect.nasl\");\n script_mandatory_keys(\"AppleSafari/MacOSX/Version\");\n script_tag(name : \"impact\" , value : tag_impact);\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\n# Variable Initialization\nsafVer = NULL;\n\nsafVer = get_kb_item(\"AppleSafari/MacOSX/Version\");\nif(!safVer){\n exit(0);\n}\n\n## Check for Apple Safari Versions 5.1.7\nif(version_is_equal(version:safVer, test_version:\"5.1.7\")){\n security_message(0);\n}\n", "cvss": {"score": 4.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:NONE/I:PARTIAL/A:NONE/"}}, {"lastseen": "2017-07-02T21:10:51", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.", "modified": "2017-04-11T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:802498", "href": "http://plugins.openvas.org/nasl.php?oid=802498", "type": "openvas", "title": "Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_google_chrome_webcore_webkit_xss_vuln_macosx.nasl 5931 2017-04-11 09:02:04Z teissa $\n#\n# Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ntag_impact = \"Successful exploitation will allow attackers to bypass a\ncross-site scripting (XSS) protection mechanism via a crafted string.\n\nImpact Level: Application\";\n\ntag_affected = \"Google Chrome version 4.x to 22 on Mac OS X\";\n\ntag_insight = \"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\nWebKit does not consider all possible output contexts of reflected data.\";\n\ntag_solution = \"No solution or patch was made available for at least one year\nsince disclosure of this vulnerability. Likely none will be provided anymore.\nGeneral solution options are to upgrade to a newer release, disable respective\nfeatures, remove the product or replace the product by another one.\";\n\ntag_summary = \"This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.\";\n\nif(description)\n{\n script_id(802498);\n script_version(\"$Revision: 5931 $\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-04-11 11:02:04 +0200 (Tue, 11 Apr 2017) $\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 15:15:03 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)\");\n script_xref(name : \"URL\" , value : \"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name : \"URL\" , value : \"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (c) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"gb_google_chrome_detect_macosx.nasl\");\n script_require_keys(\"GoogleChrome/MacOSX/Version\");\n script_tag(name : \"impact\" , value : tag_impact);\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\n## Variable Initialization\nchromeVer = \"\";\n\n## Get the version from KB\nchromeVer = get_kb_item(\"GoogleChrome/MacOSX/Version\");\nif(!chromeVer){\n exit(0);\n}\n\n## Check for Google Chrome Versions 4 to 22\nif(version_is_greater_equal(version:chromeVer, test_version:\"4\") &&\n version_is_less(version:chromeVer, test_version:\"23\")){\n security_message(0);\n}\n", "cvss": {"score": 4.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:NONE/I:PARTIAL/A:NONE/"}}, {"lastseen": "2017-07-02T21:10:57", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.", "modified": "2017-04-11T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:802496", "href": "http://plugins.openvas.org/nasl.php?oid=802496", "type": "openvas", "title": "Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_google_chrome_webcore_webkit_xss_vuln_win.nasl 5931 2017-04-11 09:02:04Z teissa $\n#\n# Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ntag_impact = \"Successful exploitation will allow attackers to bypass a cross-\nsite scripting (XSS) protection mechanism via a crafted string.\n\nImpact Level: Application\";\n\ntag_affected = \"Google Chrome version 4.x to 22 on Windows\";\n\ntag_insight = \"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\nWebKit does not consider all possible output contexts of reflected data.\";\n\ntag_solution = \"No solution or patch was made available for at least one year\nsince disclosure of this vulnerability. Likely none will be provided anymore.\nGeneral solution options are to upgrade to a newer release, disable respective\nfeatures, remove the product or replace the product by another one.\";\n\ntag_summary = \"This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.\";\n\nif(description)\n{\n script_id(802496);\n script_version(\"$Revision: 5931 $\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-04-11 11:02:04 +0200 (Tue, 11 Apr 2017) $\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 13:29:23 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)\");\n script_xref(name : \"URL\" , value : \"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name : \"URL\" , value : \"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (c) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"gb_google_chrome_detect_win.nasl\");\n script_require_keys(\"GoogleChrome/Win/Ver\");\n script_tag(name : \"impact\" , value : tag_impact);\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"registry\");\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\n## Variable Initialization\nchromeVer = \"\";\n\n## Get the version from KB\nchromeVer = get_kb_item(\"GoogleChrome/Win/Ver\");\nif(!chromeVer){\n exit(0);\n}\n\n## Check for Google Chrome Versions 4 to 22\nif(version_is_greater_equal(version:chromeVer, test_version:\"4\") &&\n version_is_less(version:chromeVer, test_version:\"23\")){\n security_message(0);\n}\n", "cvss": {"score": 4.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:NONE/I:PARTIAL/A:NONE/"}}, {"lastseen": "2017-07-02T21:10:58", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Apple Safari and is prone to cross\nsite scripting vulnerability.", "modified": "2017-04-25T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:802499", "href": "http://plugins.openvas.org/nasl.php?oid=802499", "type": "openvas", "title": "Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_apple_safari_webcore_webkit_xss_vuln_win.nasl 6022 2017-04-25 12:51:04Z teissa $\n#\n# Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ntag_impact = \"Successful exploitation will allow attackers to bypass a cross-\nsite scripting (XSS) protection mechanism via a crafted string.\n\nImpact Level: Application\";\n\ntag_affected = \"Apple Safari version 5.1.7 on Windows\";\n\ntag_insight = \"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\nWebKit does not consider all possible output contexts of reflected data.\";\n\ntag_solution = \"No solution or patch was made available for at least one year\nsince disclosure of this vulnerability. Likely none will be provided anymore.\nGeneral solution options are to upgrade to a newer release, disable respective\nfeatures, remove the product or replace the product by another one.\";\n\ntag_summary = \"This host is installed with Apple Safari and is prone to cross\nsite scripting vulnerability.\";\n\nif(description)\n{\n script_id(802499);\n script_version(\"$Revision: 6022 $\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-04-25 14:51:04 +0200 (Tue, 25 Apr 2017) $\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 15:41:09 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Windows)\");\n script_xref(name : \"URL\" , value : \"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name : \"URL\" , value : \"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (c) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"secpod_apple_safari_detect_win_900003.nasl\");\n script_require_keys(\"AppleSafari/Version\");\n script_tag(name : \"impact\" , value : tag_impact);\n script_tag(name : \"affected\" , value : tag_affected);\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"registry\");\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\n# Variable Initialization\nsafVer = NULL;\n\n## Get the OS name\nsafVer = get_kb_item(\"AppleSafari/Version\");\nif(!safVer){\n exit(0);\n}\n## Check for Apple Safari Versions 5.1.7 (5.34.57.2)\nif(version_is_equal(version:safVer, test_version:\"5.34.57.2\")){\n security_message(0);\n}\n", "cvss": {"score": 4.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:NONE/I:PARTIAL/A:NONE/"}}, {"lastseen": "2019-05-29T18:38:59", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.", "modified": "2018-09-22T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:1361412562310802497", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310802497", "type": "openvas", "title": "Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Linux)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_google_chrome_webcore_webkit_xss_vuln_lin.nasl 11549 2018-09-22 12:11:10Z cfischer $\n#\n# Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Linux)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.802497\");\n script_version(\"$Revision: 11549 $\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"$Date: 2018-09-22 14:11:10 +0200 (Sat, 22 Sep 2018) $\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 15:15:03 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Google Chrome Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Linux)\");\n script_xref(name:\"URL\", value:\"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name:\"URL\", value:\"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (c) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"gb_google_chrome_detect_lin.nasl\");\n script_mandatory_keys(\"Google-Chrome/Linux/Ver\");\n script_tag(name:\"impact\", value:\"Successful exploitation will allow attackers to bypass a\ncross-site scripting (XSS) protection mechanism via a crafted string.\");\n script_tag(name:\"affected\", value:\"Google Chrome version 4.x to 22 on Linux\");\n script_tag(name:\"insight\", value:\"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\nWebKit does not consider all possible output contexts of reflected data.\");\n script_tag(name:\"solution\", value:\"No known solution was made available for at least one year\nsince the disclosure of this vulnerability. Likely none will be provided anymore.\nGeneral solution options are to upgrade to a newer release, disable respective\nfeatures, remove the product or replace the product by another one.\");\n script_tag(name:\"summary\", value:\"This host is installed with Google Chrome and is prone to cross\nsite scripting vulnerability.\");\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n script_tag(name:\"qod_type\", value:\"executable_version\");\n exit(0);\n}\n\n\ninclude(\"version_func.inc\");\n\nchromeVer = get_kb_item(\"Google-Chrome/Linux/Ver\");\nif(!chromeVer){\n exit(0);\n}\n\nif(version_is_greater_equal(version:chromeVer, test_version:\"4\") &&\n version_is_less(version:chromeVer, test_version:\"23\")){\n security_message( port: 0, data: \"The target host was found to be vulnerable\" );\n exit(0);\n}\n\nexit(99);\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}, {"lastseen": "2020-03-04T18:58:48", "bulletinFamily": "scanner", "cvelist": ["CVE-2012-5851"], "description": "This host is installed with Apple Safari and is prone to cross\n site scripting vulnerability.", "modified": "2020-03-02T00:00:00", "published": "2012-11-21T00:00:00", "id": "OPENVAS:1361412562310803108", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310803108", "type": "openvas", "title": "Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)\n#\n# Authors:\n# Antu Sanadi <santu@secpod.com>\n#\n# Copyright:\n# Copyright (C) 2012 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nCPE = \"cpe:/a:apple:safari\";\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.803108\");\n script_version(\"2020-03-02T13:53:38+0000\");\n script_cve_id(\"CVE-2012-5851\");\n script_bugtraq_id(56570);\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:P/A:N\");\n script_tag(name:\"last_modification\", value:\"2020-03-02 13:53:38 +0000 (Mon, 02 Mar 2020)\");\n script_tag(name:\"creation_date\", value:\"2012-11-21 16:01:28 +0530 (Wed, 21 Nov 2012)\");\n script_name(\"Apple Safari Webcore Webkit 'XSSAuditor.cpp' XSS Vulnerability (Mac OS X)\");\n script_xref(name:\"URL\", value:\"https://bugs.webkit.org/show_bug.cgi?id=92692\");\n script_xref(name:\"URL\", value:\"http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html\");\n\n script_copyright(\"Copyright (C) 2012 Greenbone Networks GmbH\");\n script_category(ACT_GATHER_INFO);\n script_family(\"General\");\n script_dependencies(\"macosx_safari_detect.nasl\");\n script_mandatory_keys(\"AppleSafari/MacOSX/Version\");\n\n script_tag(name:\"impact\", value:\"Successful exploitation will allow attackers to bypass a\n cross-site scripting (XSS) protection mechanism via a crafted string.\");\n\n script_tag(name:\"affected\", value:\"Apple Safari version 5.1.7 on Mac OS X.\");\n\n script_tag(name:\"insight\", value:\"The flaw is due to 'html/parser/XSSAuditor.cpp' in WebCore in\n WebKit does not consider all possible output contexts of reflected data.\");\n\n script_tag(name:\"solution\", value:\"No known solution was made available for at least one year since the disclosure of this vulnerability.\n Likely none will be provided anymore. General solution options are to upgrade to a newer release, disable respective features, remove the\n product or replace the product by another one.\");\n\n script_tag(name:\"summary\", value:\"This host is installed with Apple Safari and is prone to cross\n site scripting vulnerability.\");\n\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n exit(0);\n}\n\ninclude(\"version_func.inc\");\ninclude(\"host_details.inc\");\n\nif(!infos = get_app_version_and_location(cpe:CPE, exit_no_version:TRUE))\n exit(0);\n\nvers = infos[\"version\"];\npath = infos[\"location\"];\n\nif(version_is_less_equal(version:vers, test_version:\"5.1.7\")) {\n report = report_fixed_ver(installed_version:vers, fixed_version:\"None\", install_path:path);\n security_message(port:0, data:report);\n exit(0);\n}\n\nexit(99);\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "exploitdb": [{"lastseen": "2016-02-04T07:08:20", "description": "WebKit Cross Site Scripting Filter 'XSSAuditor.cpp' Security Bypass Vulnerability. CVE-2012-5851. Webapps exploit for php platform", "published": "2012-07-19T00:00:00", "type": "exploitdb", "title": "WebKit Cross Site Scripting Filter 'XSSAuditor.cpp' Security Bypass Vulnerability", "bulletinFamily": "exploit", "cvelist": ["CVE-2012-5851"], "modified": "2012-07-19T00:00:00", "id": "EDB-ID:38024", "href": "https://www.exploit-db.com/exploits/38024/", "sourceData": "source: http://www.securityfocus.com/bid/56570/info\r\n\r\nWebKit is prone to a security-bypass vulnerability.\r\n\r\nAn attacker can exploit this vulnerability to bypass the cross-site scripting filter mechanism. Successful exploits may allow attackers to execute arbitrary script code and steal cookie-based authentication credentials. \r\n\r\nCode in test.jsp:\r\n\r\n<title>Test Page</title>\r\n<script>\r\nvar foo = \"<%= request.getParameter(\"foo\") %>\";\r\ndocument.write(\"<text>Welcome \"+ foo + \"</text>\");\r\n</script>\r\n\r\nExample URI:\r\n\r\nhttp://www.domain.com/test.jsp?foo=2\"; alert(document.cookie); var a=\"1 ", "cvss": {"score": 4.3, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:NONE/I:PARTIAL/A:NONE/"}, "sourceHref": "https://www.exploit-db.com/download/38024/"}]}