phpBugTracker bug.php SQLi Vulnerability - Active Check. Bug in remote phpBugTracker allows SQL injection vulnerability. Exploit may execute arbitrary SQL
Source | Link |
---|---|
securityfocus | www.securityfocus.com/bid/10153 |
# SPDX-FileCopyrightText: 2004 Noam Rathaus
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:benjamin_curtis:phpbugtracker";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.15751");
script_version("2023-08-01T13:29:10+0000");
script_tag(name:"last_modification", value:"2023-08-01 13:29:10 +0000 (Tue, 01 Aug 2023)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_tag(name:"qod_type", value:"remote_app");
script_tag(name:"solution_type", value:"VendorFix");
script_name("phpBugTracker bug.php SQLi Vulnerability - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2004 Noam Rathaus");
script_family("Web application abuses");
script_dependencies("gb_phpbugtracker_http_detect.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("phpbugtracker/http/detected");
script_tag(name:"summary", value:"There is a bug in the remote version of phpBugTracker which
makes it vulnerable to an SQL injection (SQLi) vulnerability.");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"impact", value:"An attacker may exploit this flaw to execute arbitrary SQL
statements against the remote database.");
script_tag(name:"solution", value:"Update to the latest version.");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/10153");
exit(0);
}
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
if( ! port = get_app_port( cpe:CPE, service: "www" ) )
exit( 0 );
if( ! dir = get_app_location( cpe:CPE, port:port ) )
exit( 0 );
if( dir == "/" )
dir = "";
url = dir + "/bug.php?op=vote&bugid=1'";
req = http_get( item:url, port:port );
res = http_keepalive_send_recv( port:port, data:req, bodyonly:TRUE );
if( "DB Error: syntax error" >< res || "MySQL server version for" >< res ) {
report = http_report_vuln_url( port:port, url:url );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );
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