Ubuntu 18.04 LTS / 20.04 LTS / 22.04 LTS : Dovecot vulnerability (USN-5509-1)

high Nessus Plugin ID 162993

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 18.04 LTS / 20.04 LTS / 21.10 / 22.04 LTS host has packages installed that are affected by a vulnerability as referenced in the USN-5509-1 advisory.

- An issue was discovered in the auth component in Dovecot 2.2 and 2.3 before 2.3.20. When two passdb configuration entries exist with the same driver and args settings, incorrect username_filter and mechanism settings can be applied to passdb definitions. These incorrectly applied settings can lead to an unintended security configuration and can permit privilege escalation in certain configurations. The documentation does not advise against the use of passdb definitions that have the same driver and args settings. One such configuration would be where an administrator wishes to use the same PAM configuration or passwd file for both normal and master users but use the username_filter setting to restrict which of the users is able to be a master user. (CVE-2022-30550)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-5509-1

Plugin Details

Severity: High

ID: 162993

File Name: ubuntu_USN-5509-1.nasl

Version: 1.8

Type: local

Agent: unix

Published: 7/11/2022

Updated: 10/16/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-30550

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:18.04:-:lts, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:dovecot-auth-lua, p-cpe:/a:canonical:ubuntu_linux:dovecot-core, p-cpe:/a:canonical:ubuntu_linux:dovecot-dev, p-cpe:/a:canonical:ubuntu_linux:dovecot-gssapi, p-cpe:/a:canonical:ubuntu_linux:dovecot-imapd, p-cpe:/a:canonical:ubuntu_linux:dovecot-ldap, p-cpe:/a:canonical:ubuntu_linux:dovecot-lmtpd, p-cpe:/a:canonical:ubuntu_linux:dovecot-lucene, p-cpe:/a:canonical:ubuntu_linux:dovecot-managesieved, p-cpe:/a:canonical:ubuntu_linux:dovecot-mysql, p-cpe:/a:canonical:ubuntu_linux:dovecot-pgsql, p-cpe:/a:canonical:ubuntu_linux:dovecot-pop3d, p-cpe:/a:canonical:ubuntu_linux:dovecot-sieve, p-cpe:/a:canonical:ubuntu_linux:dovecot-solr, p-cpe:/a:canonical:ubuntu_linux:dovecot-sqlite, p-cpe:/a:canonical:ubuntu_linux:dovecot-submissiond, p-cpe:/a:canonical:ubuntu_linux:mail-stack-delivery

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 7/11/2022

Vulnerability Publication Date: 7/11/2022

Reference Information

CVE: CVE-2022-30550

USN: 5509-1