| Source | Link |
|---|---|
| java | www.java.com/en/download/help/disable_browser.xml |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include("compat.inc");
if (description)
{
script_id(65741);
script_version("1.5");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/10/02");
script_name(english:"Java JRE Enabled (Mozilla Firefox)");
script_set_attribute(attribute:"synopsis", value:
"The remote host has Java JRE enabled for Mozilla Firefox.");
script_set_attribute(attribute:"description", value:
"Java JRE is enabled in Mozilla Firefox.");
script_set_attribute(attribute:"see_also", value:"https://www.java.com/en/download/help/disable_browser.xml");
script_set_attribute(attribute:"solution", value:
"Disable Java unless it is needed.");
script_set_attribute(attribute:"risk_factor", value:"None");
script_set_attribute(attribute:"plugin_publication_date", value:"2013/03/29");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:jre");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:jre");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2013-2024 Tenable Network Security, Inc.");
script_dependencies("oracle_java_jre_enabled.nasl");
script_require_keys("SMB/Java/JRE/firefox_enabled");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
# Get a list of users that Java is still enabled in
if (!get_kb_item("SMB/Java/JRE/universally_enabled")) exit(0, "Java has been universally disabled.");
users = get_kb_item_or_exit("SMB/Java/JRE/firefox_enabled");
users = str_replace(string:users, find:',', replace:'\n ');
port = get_kb_item("SMB/transport");
if (!port) port = 445;
if (report_verbosity > 0)
{
report =
'\nJava is enabled in Mozilla Firefox for the following users :' +
'\n' +
' ' + users + '\n';
security_note(port:port, extra:report);
}
else security_note(port);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation