Lucene search
+L

Dovecot 2.4.0 < 2.4.2 Improper Access Control Vulnerability

🗓️ 04 Dec 2025 00:00:00Reported by Copyright (C) 2025 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 9 Views

Dovecot 2.4.0 to before 2.4.2 has improper access control due to cache key collisions.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2025-30189
31 Oct 202509:02
attackerkb
alpinelinux
AlpineLinux
CVE-2025-30189
31 Oct 202509:02
alpinelinux
circl
Circl
CVE-2025-30189
29 Oct 202516:47
circl
cnnvd
CNNVD
Open-Xchange OX Dovecot Pro 安全漏洞
31 Oct 202500:00
cnnvd
cve
CVE
CVE-2025-30189
31 Oct 202509:02
cve
cvelist
Cvelist
CVE-2025-30189
31 Oct 202509:02
cvelist
debiancve
Debian CVE
CVE-2025-30189
31 Oct 202509:02
debiancve
euvd
EUVD
EUVD-2025-37318
31 Oct 202509:02
euvd
fedora
Fedora
[SECURITY] Fedora 43 Update: dovecot-2.4.1-6.fc43
25 Oct 202521:20
fedora
fedora
Fedora
[SECURITY] Fedora 43 Update: dovecot-2.4.1-8.fc43
22 Nov 202501:37
fedora
Rows per page
# SPDX-FileCopyrightText: 2025 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:dovecot:dovecot";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.124597");
  script_version("2025-12-09T05:47:47+0000");
  script_tag(name:"last_modification", value:"2025-12-09 05:47:47 +0000 (Tue, 09 Dec 2025)");
  script_tag(name:"creation_date", value:"2025-12-04 07:21:17 +0000 (Thu, 04 Dec 2025)");
  script_tag(name:"cvss_base", value:"7.1");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:C/I:C/A:N");

  script_cve_id("CVE-2025-30189");

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

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

  script_name("Dovecot 2.4.0 < 2.4.2 Improper Access Control Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2025 Greenbone AG");
  script_family("General");
  script_dependencies("gb_dovecot_consolidation.nasl");
  script_mandatory_keys("dovecot/detected");

  script_tag(name:"summary", value:"Dovecot is prone to an improper access control
  vulnerability.");

  script_tag(name:"insight", value:"When cache is enabled, some `passdb/userdb` drivers incorrectly
  cache all users with same cache key, causing wrong cached information to be used for these users.
  After cached login, all subsequent logins are for same user.");

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

  script_tag(name:"affected", value:"Dovecot version 2.4.0 prior to 2.4.2.");

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

  script_xref(name:"URL", value:"https://www.openwall.com/lists/oss-security/2025/10/29/4");
  script_xref(name:"URL", value:"https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2025/oxdc-adv-2025-0001.json");

  exit(0);
}

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

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

if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
  exit(0);

version = infos["version"];
location = infos["location"];

if (version_in_range(version: version, test_version: "2.4.0", test_version2: "2.4.1")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "2.4.2", install_path: location);
  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

09 Dec 2025 00:00Current
7High risk
Vulners AI Score7
CVSS 3.17.4
EPSS0.0054
SSVC
9