Vulnerability identifier: #VU7062
Vulnerability risk: Low
CVSSv3.1: 3.9 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-427
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
Postfix
Server applications /
Mail servers
Vendor: Postfix.org
Description
The vulnerability allows a local user to escalate his privileges on the system.
The vulnerability exists due to Berkeley DB versions 2 and later try to read settings from a file DB_CONFIG in the current directory. A local user can create a specially crafted DB_CONFIG file and escalate his privileges on the system with Postfix set-gid programs (postdrop, postqueue) before they chdir to the Postfix queue directory, and with the postmap and postalias commands depending on whether the user's current directory is writable by other users.
Successful exploitation of the vulnerability may allow a local user to gain elevated privileges on the system.
Mitigation
Update to version 3.2.2, 3.1.6, 3.0.10 or 2.11.10
Vulnerable software versions
Postfix: 2.11.0 - 3.2.1
External links
http://www.postfix.org/announcements/postfix-3.2.2.html
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.