Unsafe Interaction In Sun Java SE Abstract Window Toolkit (Windows)
2009-08-24T00:00:00
ID OPENVAS:900820 Type openvas Reporter Copyright (C) 2009 SecPod Modified 2017-11-08T00:00:00
Description
This host is installed with Sun Java SE and is prone to Unsafe
Interaction.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_sun_java_se_unsafe_interaction_win.nasl 7699 2017-11-08 12:10:34Z santu $
#
# Unsafe Interaction In Sun Java SE Abstract Window Toolkit (Windows)
#
# Authors:
# Sharath S <sharaths@secpod.com>
#
# Copyright:
# Copyright (c) 2009 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
tag_impact = "Successful attacks will allow attackers to trick a user into interacting
unsafely with an untrusted applet.
Impact Level: System/Application";
tag_affected = "Sun Java SE version 6.0 before Update 15 on Windows.";
tag_insight = "An error in the Abstract Window Toolkit (AWT) implementation on Windows
2000 Professional does not provide a Security Warning Icon.";
tag_solution = "Upgrade to Java SE version 6 Update 15
http://java.sun.com/javase/downloads/index.jsp";
tag_summary = "This host is installed with Sun Java SE and is prone to Unsafe
Interaction.";
if(description)
{
script_id(900820);
script_version("$Revision: 7699 $");
script_tag(name:"last_modification", value:"$Date: 2017-11-08 13:10:34 +0100 (Wed, 08 Nov 2017) $");
script_tag(name:"creation_date", value:"2009-08-24 07:49:31 +0200 (Mon, 24 Aug 2009)");
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_cve_id("CVE-2009-2717");
script_name("Unsafe Interaction In Sun Java SE Abstract Window Toolkit (Windows)");
script_xref(name : "URL" , value : "http://java.sun.com/javase/6/webnotes/6u15.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 SecPod");
script_family("General");
script_dependencies("gb_java_prdts_detect_win.nasl");
script_mandatory_keys("Sun/Java/JDK_or_JRE/Win/installed");
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("smb_nt.inc");
include("secpod_reg.inc");
include("version_func.inc");
if(hotfix_check_sp(win2k:5) <= 0){
exit(0);
}
# Get KB for JDK Version On Windows
jdkVer = get_kb_item("Sun/Java/JDK/Win/Ver");
if(jdkVer)
{
# Check for 1.6 < 1.6.0_15 (6 Update 15)
if(version_in_range(version:jdkVer, test_version:"1.6", test_version2:"1.6.0.14")){
security_message(0);
exit(0);
}
}
# Get KB for JRE Version On Windows
jreVer = get_kb_item("Sun/Java/JRE/Win/Ver");
if(jreVer)
{
# Check for 1.6 < 1.6.0_15 (6 Update 15)
if(version_in_range(version:jreVer, test_version:"1.6", test_version2:"1.6.0.14")){
security_message(0);
}
}
{"id": "OPENVAS:900820", "type": "openvas", "bulletinFamily": "scanner", "title": "Unsafe Interaction In Sun Java SE Abstract Window Toolkit (Windows)", "description": "This host is installed with Sun Java SE and is prone to Unsafe\n Interaction.", "published": "2009-08-24T00:00:00", "modified": "2017-11-08T00:00:00", "cvss": {"score": 6.8, "vector": "AV:NETWORK/AC:MEDIUM/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}, "href": "http://plugins.openvas.org/nasl.php?oid=900820", "reporter": "Copyright (C) 2009 SecPod", "references": ["http://java.sun.com/javase/6/webnotes/6u15.html"], "cvelist": ["CVE-2009-2717"], "lastseen": "2017-11-13T13:01:19", "viewCount": 1, "enchantments": {"score": {"value": 6.5, "vector": "NONE", "modified": "2017-11-13T13:01:19", "rev": 2}, "dependencies": {"references": [{"type": "cve", "idList": ["CVE-2009-2717"]}, {"type": "openvas", "idList": ["OPENVAS:1361412562310900820"]}], "modified": "2017-11-13T13:01:19", "rev": 2}, "vulnersScore": 6.5}, "pluginID": "900820", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: secpod_sun_java_se_unsafe_interaction_win.nasl 7699 2017-11-08 12:10:34Z santu $\n#\n# Unsafe Interaction In Sun Java SE Abstract Window Toolkit (Windows)\n#\n# Authors:\n# Sharath S <sharaths@secpod.com>\n#\n# Copyright:\n# Copyright (c) 2009 SecPod, http://www.secpod.com\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 attacks will allow attackers to trick a user into interacting\n unsafely with an untrusted applet.\n Impact Level: System/Application\";\ntag_affected = \"Sun Java SE version 6.0 before Update 15 on Windows.\";\ntag_insight = \"An error in the Abstract Window Toolkit (AWT) implementation on Windows\n 2000 Professional does not provide a Security Warning Icon.\";\ntag_solution = \"Upgrade to Java SE version 6 Update 15\n http://java.sun.com/javase/downloads/index.jsp\";\ntag_summary = \"This host is installed with Sun Java SE and is prone to Unsafe\n Interaction.\";\n\nif(description)\n{\n script_id(900820);\n script_version(\"$Revision: 7699 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-11-08 13:10:34 +0100 (Wed, 08 Nov 2017) $\");\n script_tag(name:\"creation_date\", value:\"2009-08-24 07:49:31 +0200 (Mon, 24 Aug 2009)\");\n script_tag(name:\"cvss_base\", value:\"6.8\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:P/I:P/A:P\");\n script_cve_id(\"CVE-2009-2717\");\n script_name(\"Unsafe Interaction In Sun Java SE Abstract Window Toolkit (Windows)\");\n script_xref(name : \"URL\" , value : \"http://java.sun.com/javase/6/webnotes/6u15.html\");\n\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2009 SecPod\");\n script_family(\"General\");\n script_dependencies(\"gb_java_prdts_detect_win.nasl\");\n script_mandatory_keys(\"Sun/Java/JDK_or_JRE/Win/installed\");\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:\"VendorFix\");\n exit(0);\n}\n\n\ninclude(\"smb_nt.inc\");\ninclude(\"secpod_reg.inc\");\ninclude(\"version_func.inc\");\n\nif(hotfix_check_sp(win2k:5) <= 0){\n exit(0);\n}\n\n# Get KB for JDK Version On Windows\njdkVer = get_kb_item(\"Sun/Java/JDK/Win/Ver\");\n\nif(jdkVer)\n{\n # Check for 1.6 < 1.6.0_15 (6 Update 15)\n if(version_in_range(version:jdkVer, test_version:\"1.6\", test_version2:\"1.6.0.14\")){\n security_message(0);\n exit(0);\n }\n}\n\n# Get KB for JRE Version On Windows\njreVer = get_kb_item(\"Sun/Java/JRE/Win/Ver\");\n\nif(jreVer)\n{\n # Check for 1.6 < 1.6.0_15 (6 Update 15)\n if(version_in_range(version:jreVer, test_version:\"1.6\", test_version2:\"1.6.0.14\")){\n security_message(0);\n }\n}\n", "naslFamily": "General", "immutableFields": []}
{"cve": [{"lastseen": "2021-04-21T20:47:51", "description": "The Abstract Window Toolkit (AWT) implementation in Sun Java SE 6 before Update 15 on Windows 2000 Professional does not provide a Security Warning Icon, which makes it easier for context-dependent attackers to trick a user into interacting unsafely with an untrusted applet.", "edition": 7, "cvss3": {}, "published": "2009-08-10T20:30:00", "title": "CVE-2009-2717", "type": "cve", "cwe": ["CWE-264"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": true, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 6.8, "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2009-2717"], "modified": "2019-04-30T14:27:00", "cpe": ["cpe:/a:sun:java_se:6"], "id": "CVE-2009-2717", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-2717", "cvss": {"score": 6.8, "vector": "AV:N/AC:M/Au:N/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:a:sun:java_se:6:14:*:*:*:*:*:*"]}], "openvas": [{"lastseen": "2020-04-29T22:26:41", "bulletinFamily": "scanner", "cvelist": ["CVE-2009-2717"], "description": "This host is installed with Sun Java SE and is prone to Unsafe\n Interaction.", "modified": "2020-04-27T00:00:00", "published": "2009-08-24T00:00:00", "id": "OPENVAS:1361412562310900820", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310900820", "type": "openvas", "title": "Unsafe Interaction In Sun Java SE Abstract Window Toolkit (Windows)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Unsafe Interaction In Sun Java SE Abstract Window Toolkit (Windows)\n#\n# Authors:\n# Sharath S <sharaths@secpod.com>\n#\n# Copyright:\n# Copyright (C) 2009 SecPod, http://www.secpod.com\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.900820\");\n script_version(\"2020-04-27T09:00:11+0000\");\n script_tag(name:\"last_modification\", value:\"2020-04-27 09:00:11 +0000 (Mon, 27 Apr 2020)\");\n script_tag(name:\"creation_date\", value:\"2009-08-24 07:49:31 +0200 (Mon, 24 Aug 2009)\");\n script_tag(name:\"cvss_base\", value:\"6.8\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:P/I:P/A:P\");\n script_cve_id(\"CVE-2009-2717\");\n script_name(\"Unsafe Interaction In Sun Java SE Abstract Window Toolkit (Windows)\");\n script_xref(name:\"URL\", value:\"http://java.sun.com/javase/6/webnotes/6u15.html\");\n\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2009 SecPod\");\n script_family(\"General\");\n script_dependencies(\"gb_java_prdts_detect_portable_win.nasl\");\n script_mandatory_keys(\"Sun/Java/JDK_or_JRE/Win/installed\");\n\n script_tag(name:\"impact\", value:\"Successful attacks will allow attackers to trick a user into interacting\n unsafely with an untrusted applet.\");\n\n script_tag(name:\"affected\", value:\"Sun Java SE version 6.0 before Update 15 on Windows.\");\n\n script_tag(name:\"insight\", value:\"An error in the Abstract Window Toolkit (AWT) implementation on Windows\n 2000 Professional does not provide a Security Warning Icon.\");\n\n script_tag(name:\"solution\", value:\"Upgrade to Java SE version 6 Update 15.\");\n\n script_tag(name:\"summary\", value:\"This host is installed with Sun Java SE and is prone to Unsafe\n Interaction.\");\n\n script_tag(name:\"qod_type\", value:\"registry\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n exit(0);\n}\n\ninclude(\"smb_nt.inc\");\ninclude(\"secpod_reg.inc\");\ninclude(\"version_func.inc\");\n\nif(hotfix_check_sp(win2k:5) <= 0){\n exit(0);\n}\n\njdkVer = get_kb_item(\"Sun/Java/JDK/Win/Ver\");\n\nif(jdkVer)\n{\n if(version_in_range(version:jdkVer, test_version:\"1.6\", test_version2:\"1.6.0.14\")){\n report = report_fixed_ver(installed_version:jdkVer, vulnerable_range:\"1.6 - 1.6.0.14\");\n security_message(port: 0, data: report);\n exit(0);\n }\n}\n\njreVer = get_kb_item(\"Sun/Java/JRE/Win/Ver\");\n\nif(jreVer)\n{\n if(version_in_range(version:jreVer, test_version:\"1.6\", test_version2:\"1.6.0.14\")){\n report = report_fixed_ver(installed_version:jreVer, vulnerable_range:\"1.6 - 1.6.0.14\");\n security_message(port: 0, data: report);\n }\n}\n", "cvss": {"score": 6.8, "vector": "AV:N/AC:M/Au:N/C:P/I:P/A:P"}}]}