📄 punbb_info_disclosure.nasl
字号:
## This script was written by David Maciejak <david dot maciejak at kyxar dot fr># This script is released under the GNU GPLv2#if(description){ script_id(15938); script_bugtraq_id(11841); if (defined_func("script_xref")) script_xref(name:"OSVDB", value:"7974"); name["english"] = "PunBB search dropdown information disclosure"; script_name(english:name["english"]); script_version ("$Revision: 38 $"); desc["english"] = "Synopsis :The remote web server contains a PHP application that is prone toan information disclosure flaw.Description :According to its banner, the remote version of PunBB reportedly mayinclude protected forums in a search dropdown list regardless ofwhether a user can view those forums. See also :http://www.punbb.org/changelogs/1.1.4_to_1.1.5.txtSolution : Update to PunBB version 1.1.5 or later.Risk factor : Low / CVSS Base Score : 2 (AV:R/AC:H/Au:NR/C:P/A:N/I:N/B:N)"; script_description(english:desc["english"]); summary["english"] = "Checks for PunBB version for information disclosure"; script_summary(english:summary["english"]); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2004 David Maciejak"); family["english"] = "CGI abuses"; family["francais"] = "Abus de CGI"; script_family(english:family["english"], francais:family["francais"]); script_dependencie("punBB_detect.nasl"); script_exclude_keys("Settings/disable_cgi_scanning"); script_require_ports("Services/www", 80); exit(0);}## The script code starts here#include('http_func.inc');port = get_http_port(default:80);if (!get_port_state(port)) exit(0);if (!can_host_php(port:port)) exit(0);# Test an install.install = get_kb_item(string("www/", port, "/punBB"));if (isnull(install)) exit(0);matches = eregmatch(string:install, pattern:"^(.+) under (/.*)$");if (!isnull(matches)) { ver = matches[1]; if (egrep(pattern: "^(0\.|1\.0|1\.1[^.]|1\.1\.[1-4]([^0-9]|$))",string:ver)) { security_note(port); exit(0); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -