UNIX symbolic link following in sendmail - CVE-2022-31256
Published: November 14, 2022
Vulnerability identifier: #VU69301
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-31256
CWE-ID: CWE-61
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: SUSE
Affected software:
sendmail
sendmail
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a symlink following issue in a script called by the sendmail systemd service. A local user can create a specially crafted symbolic link to a critical file on the system and escalate privileges from mail to root.
How to mitigate CVE-2022-31256
Install updates from vendor's website.