目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2022-37704 PoC — Amanda 命令注入漏洞

来源
关联漏洞
标题: Amanda 命令注入漏洞 (CVE-2022-37704)
Description:Amanda是University of Maryland at College Park组织的一种自动网络磁盘存档器。允许 IT 管理员设置单个主备份服务器,以通过网络将多个主机备份到磁带驱动器/转换器或磁盘或光学介质。 Amanda存在安全漏洞,该漏洞源于在rundump存在本地权限提升。
Description
Amanda 3.5.1 LPE
介绍
> [Suggested description]
> Amanda 3.5.1 has a flaw that allows privilege escalation from the
> regular user backup to root. The SUID binary located at
> /lib/amanda/rundump will execute /usr/sbin/dump as root with controlled
> arguments from the attacker which may lead to escalation of privileges,
> denial of service, and information disclosure.
>
> ------------------------------------------
>
> [Additional Information]
> Amanda is a well known software and the package is present on all known Linux distributions and even on Windows.
> I think this bug is critical for that specific software, I may say this a trust vulnerability (the rundump binary trust /usr/sbin/dump) but unfortunately dump can be tampered with to have root shell.
> I will upload a PoC video when sending the e-mail!
>
> ------------------------------------------
>
> [VulnerabilityType Other]
> External software flaw
>
> ------------------------------------------
>
> [Vendor of Product]
> Amanda
>
> ------------------------------------------
>
> [Affected Product Code Base]
> rundump - 3.5.1
>
> ------------------------------------------
>
> [Affected Component]
> The affected component is rundump SUID binary from Amanda software.
> The affected C file is : rundump.c
> The affected line of code is :     execve(dump_program, argv, env);
>
> ------------------------------------------
>
> [Attack Type]
> Local
>
> ------------------------------------------
>
> [Impact Denial of Service]
> true
>
> ------------------------------------------
>
> [Impact Escalation of Privileges]
> true
>
> ------------------------------------------
>
> [Impact Information Disclosure]
> true
>
> ------------------------------------------
>
> [Attack Vectors]
> This vulnerability is an LPE to root.
> To exploit the flaw and become root the attacker should execute a bash script.
>
> ------------------------------------------
>
> [Reference]
> http://www.amanda.org/
>
> ------------------------------------------
>
> [Discoverer]
> Maher Azzouzi

Use CVE-2022-37704.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →