# # This script was written by Georges Dagousset # # See the Nessus Scripts License for details # if(description) { script_id(10777); script_version ("$Revision$"); script_cve_id("CVE-2001-0567"); name["english"] = "Zope ZClass permission mapping bug"; script_name(english:name["english"]); desc["english"] = " The remote web server is a version of Zope which is older than version 2.3.3. There is a security issue in all releases prior to version 2.3.3. Any user can visit a ZClass declaration and change the ZClass permission mappings for methods and other objects defined within the ZClass, possibly allowing for unauthorized access within the Zope instance. *** Nessus solely relied on the version number of your server, so if *** the hotfix has already been applied, this might be a false positive Solution : Upgrade to Zope 2.3.3 or apply the hotfix available at http://www.zope.org/Products/Zope/Hotfix_2001-05-01/security_alert Risk factor : Serious"; script_description(english:desc["english"]); summary["english"] = "Checks Zope version"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2001 Alert4Web.com"); family["english"] = "CGI abuses"; script_family(english:family["english"]); script_dependencie("find_service.nes", "http_version.nasl"); script_require_ports("Services/www", 80); script_require_keys("www/zope"); exit(0); } # # The script code starts here # include("http_func.inc"); port = get_kb_item("Services/www"); if(!port)port = 80; banner = get_http_banner(port:port); if(banner) { if(egrep(pattern:"Server: .*Zope 2\.((0\..*)|(1\..*)|(2\..*)|(3\.[0-2]))", string:banner)) security_hole(port); }