Headline
Ubuntu Security Notice USN-6018-1
Ubuntu Security Notice 6018-1 - Chen Lu, Lei Wang, and YiQi Sun discovered a privilege escalation vulnerability in apport-cli when viewing crash reports and unprivileged users are allowed to run sudo less. A local attacker on a specially configured system could use this to escalate their privilege.
==========================================================================
Ubuntu Security Notice USN-6018-1
April 13, 2023
apport vulnerability
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 22.10
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
Summary:
Apport could be used to escalate privilege on specially configured
systems.
Software Description:
- apport: automatically generate crash reports for debugging
Details:
Chen Lu, Lei Wang, and YiQi Sun discovered a privilege escalation
vulnerability in apport-cli when viewing crash reports and unprivileged
users are allowed to run sudo less. A local attacker on a specially
configured system could use this to escalate their privilege.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 22.10:
apport 2.23.1-0ubuntu3.2
Ubuntu 22.04 LTS:
apport 2.20.11-0ubuntu82.4
Ubuntu 20.04 LTS:
apport 2.20.11-0ubuntu27.26
Ubuntu 18.04 LTS:
apport 2.20.9-0ubuntu7.29
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-6018-1
CVE-2023-1326, https://launchpad.net/bugs/2016023
Package Information:
https://launchpad.net/ubuntu/+source/apport/2.23.1-0ubuntu3.2
https://launchpad.net/ubuntu/+source/apport/2.20.11-0ubuntu82.4
https://launchpad.net/ubuntu/+source/apport/2.20.11-0ubuntu27.26
https://launchpad.net/ubuntu/+source/apport/2.20.9-0ubuntu7.29
Related news
A privilege escalation attack was found in apport-cli 2.26.0 and earlier which is similar to CVE-2023-26604. If a system is specially configured to allow unprivileged users to run sudo apport-cli, less is configured as the pager, and the terminal size can be set: a local attacker can escalate privilege. It is extremely unlikely that a system administrator would configure sudo to allow unprivileged users to perform this class of exploit.