低危 Cupsd 监听任意 chmod 0140777 (CVE-2024-35235)

CVE编号

CVE-2024-35235

利用情况

暂无

补丁情况

官方补丁

披露时间

2024-06-11
漏洞描述
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.8 and earlier, when starting the cupsd server with a Listen configuration item pointing to a symbolic link, the cupsd process can be caused to perform an arbitrary chmod of the provided argument, providing world-writable access to the target. Given that cupsd is often running as root, this can result in the change of permission of any user or system files to be world writable. Given the aforementioned Ubuntu AppArmor context, on such systems this vulnerability is limited to those files modifiable by the cupsd process. In that specific case it was found to be possible to turn the configuration of the Listen argument into full control over the cupsd.conf and cups-files.conf configuration files. By later setting the User and Group arguments in cups-files.conf, and printing with a printer configured by PPD with a `FoomaticRIPCommandLine` argument, arbitrary user and group (not root) command execution could be achieved, which can further be used on Ubuntu systems to achieve full root command execution. Commit ff1f8a623e090dee8a8aadf12a6a4b25efac143d contains a patch for the issue.

解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 debian_10 cups * Up to
(excluding)
2.2.10-6+deb10u10
运行在以下环境
系统 opensuse_5.3 libcups2 * Up to
(excluding)
2.2.7-150000.3.59.1
运行在以下环境
系统 opensuse_5.4 libcups2 * Up to
(excluding)
2.2.7-150000.3.59.1
运行在以下环境
系统 opensuse_leap.15.5 cups * Up to
(excluding)
2.2.7-150000.3.59.1
运行在以下环境
系统 opensuse_leap.15.6 cups * Up to
(excluding)
2.2.7-150000.3.59.1
运行在以下环境
系统 suse_12.sp5 cups * Up to
(excluding)
1.7.5-20.49.1
阿里云评分
3.8
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    管控权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
阿里云安全产品覆盖情况