Lucene search
+L

POP2 Unencrypted Cleartext Login

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2005 George A. TheallType 
openvas
 openvas
🔗 plugins.openvas.org👁 20 Views

POP2 Unencrypted Cleartext Login. Remote host runs a POP2 daemon allowing cleartext logins over unencrypted connections, posing a risk of exposing login names and passwords by sniffing traffic

Code
# SPDX-FileCopyrightText: 2005 George A. Theall
# 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.15854");
  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:"4.8");
  script_tag(name:"cvss_base_vector", value:"AV:A/AC:L/Au:N/C:P/I:P/A:N");
  script_xref(name:"OSVDB", value:"3119");

  script_tag(name:"qod_type", value:"remote_analysis");

  script_tag(name:"solution_type", value:"Mitigation");

  script_name("POP2 Unencrypted Cleartext Login");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2005 George A. Theall");
  script_family("General");
  script_dependencies("find_service.nasl");
  script_require_ports("Services/pop2", 109);

  script_tag(name:"summary", value:"The remote host is running a POP2 daemon that allows cleartext logins over
  unencrypted connections.");

  script_tag(name:"impact", value:"An attacker can uncover login names and
  passwords by sniffing traffic to the POP2 daemon.");

  script_tag(name:"solution", value:"Encrypt traffic with SSL/TLS using stunnel.");

  exit(0);
}

include("port_service_func.inc");

port = service_get_port(default:109, proto:"pop2");

if(!get_port_state(port))

# nb: skip it if traffic is encrypted.
encaps = get_port_transport(port);
if (encaps > ENCAPS_IP)
  exit(0);

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

r = recv_line(socket:soc, length:4096);
close(soc);

if (!r || "POP" >!< r)
  exit(0);

# nb: POP2 doesn't support encrypted logins so there's no need to
#     actually try to log in. [Heck, I probably don't even need to
#     establish a connection.]
security_message(port:port);
exit(0);

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