# # (C) Tenable Network Security # # # Ref: # Date: Tue, 13 May 2003 17:26:39 -0500 # From: cdowns # To: webappsec@securityfocus.com, pen-test@securityfocus.com # Subject: Owl Intranet Engine - bypass admin if (description) { script_id(11626); script_version ("$Revision$"); script_name(english:"Owl Login bypass"); desc["english"] = " The remote host is using owl intranet engine, an open-source file sharing utility written in php. There is a flaw in this application which may allow an attacker to browse files on this host without having to log in. Solution : None at this time Risk Factor : Medium"; script_description(english:desc["english"]); script_summary(english:"Determines owl is installed"); script_category(ACT_ATTACK); script_family(english:"CGI abuses", francais:"Abus de CGI"); script_copyright(english:"This script is Copyright (C) 2003 Tenable Network Security"); script_dependencie("find_service.nes", "no404.nasl"); script_require_ports("Services/www", 80); exit(0); } include("http_func.inc"); include("http_keepalive.inc"); port = get_kb_item("Services/www"); if (!port) port = 80; if(!get_port_state(port))exit(0); dir = make_list("/filemgr", cgi_dirs(), "/intranet", ""); foreach d (dir) { req = http_get(item:d + "/browse.php", port:port); res = http_keepalive_send_recv(port:port, data:req); if( res == NULL ) exit(0); if("User: Anonymous " >< res ) { req = http_get(item:d + "/browse.php?loginname=nessus&parent=1&expand=1&order=creatorid&sortposted=ASC", port:port); res = http_keepalive_send_recv(port:port, data:req); if( res == NULL ) exit(0); if("User: Owl" >< res) { security_warning(port); exit(0); } } }