CVE-2023-1326 local privilege escalation in apport-cli

High 7.7 Published Updated

Local attackers can escalate privileges via apport-cli if sudo access is granted and less is used as the pager.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-1326?

CVE-2023-1326 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 13 Apr 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-269

Which versions are affected by CVE-2023-1326?

It affects 2 products.

Products include Canonical Apport, Canonical Ubuntu Linux.

How do I fix CVE-2023-1326?

Apply the vendor's patch.

Is CVE-2023-1326 being exploited?

There is no known exploitation of CVE-2023-1326 in the wild and no public exploit code.

Public exploit code: 5 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-qgrc-7333-5cgx, UBUNTU-CVE-2023-1326, USN-6018-1.

Is CVE-2023-1326 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free