TGViewer
Arch Linux Chinese Messages Arch Linux Chinese Messages @archlinuxcn · 11.2K subscribers
Post #122 433

Forwarded from bupt.moe

sudo 出了一个比较严重 bug,此问题后果严重,但是一般来说很难触发(配置不太常见)。1.8.28 修复
如果一个 sudoers 配置了以下 Runas 权限
alice = (ALL:!root) /path/to/bin
那么他可以使用 sudo -u#1234 id -u 以 UID 1234 执行命令。
但是,syscall setresuid(2) 和 setreuid(2) 对于UID为-1(或者4294967295)有特殊处理并且不会更改 EUID,同时 sudo 本身运行在 root 下,会造成提权漏洞。
https://www.sudo.ws/alerts/minus_1_uid.html
Sudo Potential bypass of Runas user restrictions When sudo is configured to allow a user to run commands as an arbitrary user via the ALL keyword in a Runas specification, it is possible to run commands as root by specifying the user ID -1 or 4294967295. This can be used by a user with sufficient sudo privileges…
More from @archlinuxcn
  1. Sep 22, 2026mkinitcpio >= 42 更新在基于TPM2解锁LUKS的设备上可能需要手动干预 从包版本 42-1 起,mkinitcpio 的 systemd 挂钩现在也包括了 sys…
  2. Sep 15, 2026linux-firmware-amdgpu 20260910-2 已修复前一个问题。
  3. Sep 13, 2026ddcutil 3.0.1-1 已修复后一个问题。
  4. Sep 13, 2026AMD 显卡用户谨慎升级 linux-firmware-amdgpu 20260910-1。有多位用户报告该版本固件导致了启动问题。 AMD 显卡的 KDE 用户谨慎升级 ddcu…
  5. Sep 5, 2026www.archlinuxcn.org 也已于夜里恢复服务。此次维护所有中断服务均已恢复。
  6. Sep 4, 2026wiki.archlinuxcn.org 、 forum.archlinuxcn.org 和邮件服务已经恢复。
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →