Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
packet_edit_meme — PACKET_EDIT_MEME.c (aka CVE-2026-46331): yet another page cache poisoning nightmare | Kitploit
工具/GitHubGitHub/sgkdev/packet_edit_meme
Privilege EscalationVulnerability AnalysisExploitationPost-ExploitationPenetration TestingRed TeamingBinary Exploitation
GitHubsgkdev/packet_edit_meme

packet_edit_meme

PACKET_EDIT_MEME.c (aka CVE-2026-46331): yet another page cache poisoning nightmare

查看仓库
137452个月前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

PACKET_EDIT_MEME - 又名 CVE-2026-46331

net/sched act_pedit 部分COW页缓存损坏 (罪魁祸首 899ee91156e5, 存在 v5.18 .. 已修复 v7.1-rc7)。packet_edit_meme.c 将其转化为无特权本地 root:一个 userns CAP_NET_ADMIN 子进程覆盖了 setuid-root /bin/su 的缓存 ELF 入口,使用 setgid(0)+setuid(0)+execve("/bin/sh") shellcode。

root@kitploit:~
make                     
./packet_edit_meme         
./packet_edit_meme --ubuntu  # AppArmor 限制的 Ubuntu:首先绕过 aa-exec

目标 (2026-06 验证,无特权用户 -> root)

发行版内核标志结果
RHEL 10.06.12.0-228.el10(none)ROOT
Debian 13 trixie6.12.90+deb13.1(none)ROOT
Ubuntu 24.04.46.17.0-22--ubuntuROOT
Ubuntu 26.047.0.0-14-generic--ubuntuFAIL

RHEL / Debian:无特权 userns 默认开放,无需标志。RHEL 附带 没有 cls_basic / em_meta,因此原语自动回退到 matchall。

Ubuntu AppArmor 限制

Ubuntu 通过两个 sysctl 拒绝无限制的无特权 userns:

root@kitploit:~
kernel.apparmor_restrict_unprivileged_userns       # 拒绝创建无限制的 userns
kernel.apparmor_restrict_unprivileged_unconfined   # 强制将无限制的 change_profile 设置为 STACK,
                                                   # 因此 aa-exec 宽松配置文件无法
                                                   # 摆脱 userns 限制

--ubuntu 通过 aa-exec -p {trinity,chrome,flatpak} 重新执行 (带有 userns, 规则的配置文件)。

root@kitploit:~
24.04.4 : userns=1, unconfined=0  -> aa-exec 绕过 有效
26.04   : userns=1, unconfined=1  -> aa-exec 绕过 已关闭
下载工具