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

目标: 1000 元 · 已筹: 1336

100%

CVE-2024-5300— Canonical snapd 信息泄露漏洞

一分钟漏洞结论

影响对象
CVE-2024-5300
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Canonical snapd是英国Canonical公司开源的一个跨平台包管理工具。 Canonical snapd 2.76.1之前版本存在信息泄露漏洞,该漏洞源于基础AppArmor安全配置文件配置中的访问控制绕过和信息泄露问题,导致严格受限的snap应用可与UNIX域套接字直接交互,并利用systemd-userdbd服务无法区分主机系统上的无限制root用户和snap应用沙箱中的受限root用户,通过查询Varlink接口检索所有系统密码哈希,绕过snap沙箱限制。

CVSS 5.6 · Medium EPSS 0.10% · P1

影响版本矩阵 7

厂商产品 版本范围状态
None None < 2.76.1 affected
Canonical Ubuntu 16.04 LTS 2.61.4ubuntu0.16.04.1+esm3 unaffected
Canonical Ubuntu 18.04 LTS 2.61.4ubuntu0.18.04.1+esm3 unaffected
Canonical Ubuntu 20.04 LTS 2.67.1+20.04ubuntu1~esm2 unaffected
Canonical Ubuntu 22.04 LTS 2.76+ubuntu22.04.1 unaffected
Canonical Ubuntu 24.04 LTS 2.76+ubuntu24.04.1 unaffected
Canonical Ubuntu 26.04 LTS 2.76+ubuntu26.04.3 unaffected

一、 漏洞 CVE-2024-5300 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
AppArmor Base Profile Misconfiguration in snapd Permits Confined Snaps Unauthorized Access to Hashed Passwords via systemd-userdbd
来源: CVE Program / CVE List V5
Vulnerability Description
An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/. On systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns "complete" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
敏感数据的不恰当跨边界移除
来源: CVE Program / CVE List V5
Vulnerability Title
Canonical snapd 信息泄露漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Canonical snapd是英国Canonical公司开源的一个跨平台包管理工具。 Canonical snapd 2.76.1之前版本存在信息泄露漏洞,该漏洞源于基础AppArmor安全配置文件配置中的访问控制绕过和信息泄露问题,导致严格受限的snap应用可与UNIX域套接字直接交互,并利用systemd-userdbd服务无法区分主机系统上的无限制root用户和snap应用沙箱中的受限root用户,通过查询Varlink接口检索所有系统密码哈希,绕过snap沙箱限制。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
- - 0 ~ 2.76.1 -
Canonical Ubuntu 26.04 LTS 2.76+ubuntu26.04.3 -
Canonical Ubuntu 24.04 LTS 2.76+ubuntu24.04.1 -
Canonical Ubuntu 22.04 LTS 2.76+ubuntu22.04.1 -
Canonical Ubuntu 20.04 LTS 2.67.1+20.04ubuntu1~esm2 -
Canonical Ubuntu 18.04 LTS 2.61.4ubuntu0.18.04.1+esm3 -
Canonical Ubuntu 16.04 LTS 2.61.4ubuntu0.16.04.1+esm3 -

二、漏洞 CVE-2024-5300 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-5300 的情报信息

登录查看更多情报信息。

CVE-2024-5300 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-5300

暂无评论


发表评论