SecurityContext

CVE-2023-1326: apport-cli - Privilege Escalation

  • Cve: CVE-2023-1326
  • Name: apport-cli - Privilege Escalation
  • 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.
  • Impact: Local attackers can escalate privileges, potentially gaining root access on the system.
  • Remediation: Restrict sudo access for apport-cli and ensure proper environment configuration.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to run sudo apport-cli with specific environment settings
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00882
  • Epss percentile: 0.6007
  • Assignee: [email protected]
  • Published at: 2023-04-13T23:15:07Z
  • Age in days: 1321
  • Modified at: 2026-06-17T05:27:39Z
  • Patch available: yes
  • Public exploits total: 5
  • References total: 2
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-1326
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-269Improper Privilege Management

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/R3fr4kt/DEVVORTEX2026-09-12
https://github.com/cve-2024/CVE-2023-1326-PoC2024-06-14
https://github.com/h3x0v3rl0rd/CVE-2023-13262024-05-04
https://github.com/Pol-Ruiz/CVE-2023-13262024-01-16
https://github.com/diego-tella/CVE-2023-1326-PoC2023-12-06

References

UrlSourceTags
https://github.com/canonical/apport/commit/e5f78cc89f1f5888b6a56b785dddcb0364c48ecbnvdPatch
https://ubuntu.com/security/notices/USN-6018-1nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
canonical:apport<= 2.26.0nonvd/v1/products/canonical/apport
canonical:ubuntu_linux= 22.10, = 22.04, = 20.04, = 18.04nonvd/v1/products/canonical/ubuntu_linux

Projects

RepositoryLink kindsIndexedUrl
canonical/apportcommit, fixyes/v1/repositories/canonical/apport

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 5
  • Public exploit first date: 2023-12-06
  • Authentication required: yes
  • Exposed hosts: 21216412
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports