Lucene search
+L

Exim < 4.94.2 Multiple Vulnerabilities (21Nails)

🗓️ 05 May 2021 00:00:00Reported by Copyright (C) 2021 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 39 Views

Exim < 4.94.2 Multiple Vulnerabilities (21Nails

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2020-28015
6 May 202100:00
attackerkb
attackerkb
ATTACKERKB
CVE-2021-27216
6 May 202113:15
attackerkb
amazon
Amazon
Important: exim
10 May 202100:00
amazon
amazon
Amazon
Critical: exim
5 Aug 202200:00
amazon
nessus
Tenable Nessus
Amazon Linux AMI : exim (ALAS-2021-1497)
12 May 202100:00
nessus
nessus
Tenable Nessus
Amazon Linux AMI : exim (ALAS-2022-1622)
5 Aug 202200:00
nessus
nessus
Tenable Nessus
Debian DLA-2650-1 : exim4 security update
7 May 202100:00
nessus
nessus
Tenable Nessus
Debian DSA-4912-1 : exim4 - security update
5 May 202100:00
nessus
nessus
Tenable Nessus
Exim < 4.94.2 Multiple Vulnerabilities (21Nails)
5 May 202100:00
nessus
nessus
Tenable Nessus
GLSA-202105-01 : Exim: Multiple vulnerabilities
5 May 202100:00
nessus
Rows per page
# SPDX-FileCopyrightText: 2021 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

CPE = "cpe:/a:exim:exim";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.145890");
  script_version("2024-01-10T05:05:17+0000");
  script_tag(name:"last_modification", value:"2024-01-10 05:05:17 +0000 (Wed, 10 Jan 2024)");
  script_tag(name:"creation_date", value:"2021-05-05 04:03:59 +0000 (Wed, 05 May 2021)");
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2021-05-10 16:13:00 +0000 (Mon, 10 May 2021)");

  script_cve_id("CVE-2020-28007", "CVE-2020-28008", "CVE-2020-28014", "CVE-2021-27216", "CVE-2020-28011",
                "CVE-2020-28010", "CVE-2020-28013", "CVE-2020-28016", "CVE-2020-28015", "CVE-2020-28012",
                "CVE-2020-28009", "CVE-2020-28017", "CVE-2020-28020", "CVE-2020-28023", "CVE-2020-28021",
                "CVE-2020-28022", "CVE-2020-28026", "CVE-2020-28019", "CVE-2020-28024", "CVE-2020-28018",
                "CVE-2020-28025");

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

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

  script_name("Exim < 4.94.2 Multiple Vulnerabilities (21Nails)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2021 Greenbone AG");
  script_family("General");
  script_dependencies("gb_exim_smtp_detect.nasl");
  script_mandatory_keys("exim/detected");

  script_tag(name:"summary", value:"Exim is prone to multiple vulnerabilities dubbed '21Nails'.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"The following vulnerabilities exist:

  - CVE-2020-28007: Link attack in Exim's log directory

  - CVE-2020-28008: Assorted attacks in Exim's spool directory

  - CVE-2020-28014: Arbitrary file creation and clobbering

  - CVE-2021-27216: Arbitrary file deletion

  - CVE-2020-28011: Heap buffer overflow in queue_run()

  - CVE-2020-28010: Heap out-of-bounds write in main()

  - CVE-2020-28013: Heap buffer overflow in parse_fix_phrase()

  - CVE-2020-28016: Heap out-of-bounds write in parse_fix_phrase()

  - CVE-2020-28015: New-line injection into spool header file (local)

  - CVE-2020-28012: Missing close-on-exec flag for privileged pipe

  - CVE-2020-28009: Integer overflow in get_stdinput()

  - CVE-2020-28017: Integer overflow in receive_add_recipient()

  - CVE-2020-28020: Integer overflow in receive_msg()

  - CVE-2020-28023: Out-of-bounds read in smtp_setup_msg()

  - CVE-2020-28021: New-line injection into spool header file (remote)

  - CVE-2020-28022: Heap out-of-bounds read and write in extract_option()

  - CVE-2020-28026: Line truncation and injection in spool_read_header()

  - CVE-2020-28019: Failure to reset function pointer after BDAT error

  - CVE-2020-28024: Heap buffer underflow in smtp_ungetc()

  - CVE-2020-28018: Use-after-free in tls-openssl.c

  - CVE-2020-28025: Heap out-of-bounds read in pdkim_finish_bodyhash()");

  script_tag(name:"affected", value:"Exim prior to version 4.94.2.");

  script_tag(name:"solution", value:"Update to version 4.94.2 or later.");

  script_xref(name:"URL", value:"https://www.qualys.com/2021/05/04/21nails/21nails.txt");
  script_xref(name:"URL", value:"https://www.exim.org/static/doc/security/CVE-2020-qualys/");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!version = get_app_version(cpe: CPE, port: port))
  exit(0);

if (version_is_less(version: version, test_version: "4.94.2")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "4.94.2");
  security_message(port: port, data: report);
  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