In a default installation of Oracle 9iAS, it is possible to access the Dynamic Monitoring Services pages anonymously. Access to these pages should be restricted.
#%NASL_MIN_LEVEL 70300
#
# This script was written by Matt Moore <[email protected]>
#
# Script audit and contributions from Carmichael Security <http://www.carmichaelsecurity.com>
# Erik Anderson <[email protected]>
# Added BugtraqID and CAN
#
# See the Nessus Scripts License for details
#
# Changes by Tenable:
# - Revised plugin title (6/9/09)
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(10848);
script_version("1.25");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_cve_id("CVE-2002-0563");
script_bugtraq_id(4293);
script_name(english:"Oracle 9iAS DMS / JPM Pages Anonymous Access");
script_set_attribute(attribute:"synopsis", value:
"Sensitive resources can be accessed.");
script_set_attribute(attribute:"description", value:
"In a default installation of Oracle 9iAS, it is possible to access the
Dynamic Monitoring Services pages anonymously. Access to these pages
should be restricted.");
script_set_attribute(attribute:"solution", value:
"Edit httpd.conf to restrict access to /dms0.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_cwe_id(287);
script_set_attribute(attribute:"vuln_publication_date", value:"2002/01/10");
script_set_attribute(attribute:"patch_publication_date", value:"2002/02/06");
script_set_attribute(attribute:"plugin_publication_date", value:"2002/02/07");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:application_server");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:application_server_web_cache");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Databases");
script_copyright(english:"This script is Copyright (C) 2002-2022 Matt Moore");
script_dependencies("find_service1.nasl", "http_version.nasl");
script_require_keys("www/OracleApache");
script_require_ports("Services/www", 80);
exit(0);
}
# Check starts here
include("http_func.inc");
include("global_settings.inc");
port = get_http_port(default:80, embedded:TRUE);
if(get_port_state(port))
{
req = http_get(item:"/dms0", port:port);
soc = http_open_socket(port);
if(soc)
{
send(socket:soc, data:req);
r = http_recv(socket:soc);
http_close_socket(soc);
if("DMSDUMP version" >< r)
security_warning(port);
}
}
Vendor | Product | Version | CPE |
---|---|---|---|
oracle | application_server | cpe:/a:oracle:application_server | |
oracle | application_server_web_cache | cpe:/a:oracle:application_server_web_cache |