| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/38594 |
| perforce | www.perforce.com/perforce/products/p4d.html |
| resources | www.resources.mcafee.com/forms/Aurora_VDTRG_WP |
# SPDX-FileCopyrightText: 2010 Greenbone AG
# 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
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.100520");
script_version("2023-07-28T16:09:07+0000");
script_tag(name:"last_modification", value:"2023-07-28 16:09:07 +0000 (Fri, 28 Jul 2023)");
script_tag(name:"creation_date", value:"2010-03-09 14:33:24 +0100 (Tue, 09 Mar 2010)");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_name("Perforce Socket Hijacking Vulnerability");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/38594");
script_xref(name:"URL", value:"http://www.perforce.com/perforce/products/p4d.html");
script_xref(name:"URL", value:"http://resources.mcafee.com/forms/Aurora_VDTRG_WP");
script_tag(name:"qod_type", value:"remote_banner");
script_category(ACT_GATHER_INFO);
script_family("General");
script_copyright("Copyright (C) 2010 Greenbone AG");
script_dependencies("perforce_detect.nasl");
script_require_ports("Services/perforce", 1666);
script_mandatory_keys("perforce/detected");
script_tag(name:"summary", value:"Perforce is prone to a vulnerability that allows attackers to
hijack sockets.");
script_tag(name:"insight", value:"For an exploit to succeed, the underlying operating system must
allow rebinding of a port.");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"solution", value:"No known solution was made available for at least one year
since the disclosure of this vulnerability. Likely none will be provided anymore.
General solution options are to upgrade to a newer release, disable respective features,
remove the product or replace the product by another one.");
exit(0);
}
include("version_func.inc");
include("port_service_func.inc");
port = service_get_port(default:1666, proto:"perforce");
if(!vers = get_kb_item("perforce/" + port + "/version"))
exit(0);
if(!isnull(vers)) {
if(!version = split(vers, sep:"/", keep:FALSE))
exit(0);
if(version[2] >< "2008.1") {
if(version_is_equal(version:version[3], test_version:"160022")) {
VULN = TRUE;
}
}
else if(version[2] >< "2009.2" || version[2] >< "2007.3") {
VULN = TRUE;
}
if(VULN) {
security_message(port:port);
exit(0);
}
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation