Dovecot 'base_dir' Insecure Permissions Security Bypass Vulnerability
🗓️ 02 Dec 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType
openvas🔗 plugins.openvas.org👁 23 Views
| Reporter | Title | Published | Views | Family All 26 |
|---|---|---|---|---|
| dovecot -- Insecure directory permissions | 20 Nov 200900:00 | – | freebsd | |
| CVE-2009-3897 | 24 Nov 200917:00 | – | cve | |
| CVE-2009-3897 | 24 Nov 200917:00 | – | cvelist | |
| [Backports-security-announce] Security Update for dovecot | 2 Dec 200919:11 | – | debian | |
| [Backports-security-announce] Security Update for dovecot | 2 Dec 200919:03 | – | debian | |
| CVE-2009-3897 | 24 Nov 200917:00 | – | debiancve | |
| FreeBSD : dovecot -- Insecure directory permissions (30211c45-e52a-11de-b5cd-00e0815b8da8) | 11 Dec 200900:00 | – | nessus | |
| GLSA-201110-04 : Dovecot: Multiple vulnerabilities | 11 Oct 201100:00 | – | nessus | |
| Mandriva Linux Security Advisory : dovecot (MDVSA-2009:306) | 30 Jul 201000:00 | – | nessus | |
| RHEL 5 : dovecot (Unpatched Vulnerability) | 3 Jun 202400:00 | – | nessus |
10
# SPDX-FileCopyrightText: 2009 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.801055");
script_version("2024-02-09T05:06:25+0000");
script_tag(name:"last_modification", value:"2024-02-09 05:06:25 +0000 (Fri, 09 Feb 2024)");
script_tag(name:"creation_date", value:"2009-12-02 13:54:57 +0100 (Wed, 02 Dec 2009)");
script_tag(name:"cvss_base", value:"4.6");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:P/I:P/A:P");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2024-02-08 15:21:34 +0000 (Thu, 08 Feb 2024)");
script_cve_id("CVE-2009-3897");
script_name("Dovecot 'base_dir' Insecure Permissions Security Bypass Vulnerability");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/54363");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/37084");
script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2009/3306");
script_xref(name:"URL", value:"http://www.dovecot.org/list/dovecot-news/2009-November/000143.html");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Privilege escalation");
script_dependencies("gb_dovecot_consolidation.nasl");
script_mandatory_keys("dovecot/detected");
script_tag(name:"impact", value:"Successful attack could allow malicious people to log in as another user,
which may aid in further attacks.");
script_tag(name:"affected", value:"Dovecot versions 1.2 before 1.2.8.");
script_tag(name:"insight", value:"This flaw is due to insecure permissions (0777) being set on the 'base_dir'
directory and its parents, which could allow malicious users to replace auth
sockets and log in as other users.");
script_tag(name:"solution", value:"Apply the patch or upgrade to Dovecot version 1.2.8.");
script_tag(name:"summary", value:"Dovecot is prone to a security bypass vulnerability.");
exit(0);
}
CPE = "cpe:/a:dovecot:dovecot";
include("host_details.inc");
include("version_func.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 =~ "^1\.2" && version_is_less(version: version, test_version: "1.2.8")) {
report = report_fixed_ver(installed_version: version, fixed_version: "1.2.8", 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 Feb 2024 00:00Current
5.4Medium risk
Vulners AI Score5.4
CVSS 24.6
CVSS 3.15.5
EPSS0.00375