## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-AK777177-DIRTY-FRAG-ANALYSIS
# Dirty Frag ์ฌ์ธต ๊ธฐ์ ๋ถ์
> CVE-2026-43284 (xfrm-ESP) / CVE-2026-43500 (RxRPC)
>
> Linux ์ปค๋ ๋ก์ปฌ ๊ถํ ์์น ์ทจ์ฝ์ โ PoC ๋ฆฌ๋ฒ์ค ยท Shellcode ๋ถ์ ยท ํจ์น ์๋ฆฌ ยท ํ์ง ์คํฌ๋ฆฝํธ
## ์ทจ์ฝ์ ๊ฐ์
Dirty Frag๋ `xfrm-ESP Page-Cache Write`์ `RxRPC Page-Cache Write` ๋ ๊ฐ์ ๋
๋ฆฝ์ ์ธ ์ทจ์ฝ์ ์ ์ฐ์์ ์ผ๋ก ํ์ฉํ์ฌ, ๊ฑฐ์ ๋ชจ๋ ์ฃผ์ Linux ๋ฐฐํฌํ์์ ๋ก์ปฌ ์ผ๋ฐ ์ฌ์ฉ์์์ root๋ก์ ๊ถํ ์์น์ ๋ฌ์ฑํฉ๋๋ค.
* **๊ฒฐ์ ์ ๋ก์ง ์ทจ์ฝ์ ** , ๊ฒฝ์ ์กฐ๊ฑด ์์, 100% ์ฑ๊ณต๋ฅ
* **Copy Fail ์ํ ์กฐ์น ์์ ์ฐํ**
* ์ํฅ ๋ฒ์: 2017๋
์ดํ ๊ฑฐ์ ๋ชจ๋ Linux ์ปค๋
## ํ์ผ ์ค๋ช
ํ์ผ| ์ค๋ช
---|---
dirtyfrag-analysis.md| ์ ์ฒด ๊ธฐ์ ๋ถ์ ๋ฌธ์
dirtyfrag-check.sh| ์ํด๋ฆญ ํ์ง ์คํฌ๋ฆฝํธ (esp4/esp6 + rxrpc)
## ๋น ๋ฅธ ํ์ง
root@kitploit:~
# ํ ์ค ๋ช
๋ น์ผ๋ก ๋น ๋ฅธ ํ์ง
lsmod | grep -qE "esp4|rxrpc" && echo "[!] ์ํ ์กด์ฌ" || echo "[+] ์์ "
# ๋๋ ์ ์ฒด ํ์ง ์คํฌ๋ฆฝํธ ์ฌ์ฉ
bash dirtyfrag-check.sh
## ์์ ์กฐ์น
root@kitploit:~
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; echo 3 > /proc/sys/vm/drop_caches"
> โ ๏ธ ์กฐ์น ์ ์์คํ
์ด IPsec VPN / SD-WAN / K8s pod ๊ฐ IPsec ์ํธํ๋ฅผ ์ฌ์ฉํ์ง ์๋์ง ํ์ธํ์ธ์
## ์ค์ ๊ฒ์ฆ
root@kitploit:~
OS: Ubuntu 22.04.5 LTS
Kernel: 5.15.0-171-generic
User: ubuntu (uid=1000) โ root (uid=0)
Variant: xfrm-ESP Page-Cache Write
Time: ~8 seconds
## ๊ฐ์ฌ์ ๋ง
* ์ทจ์ฝ์ ๋ฐ๊ฒฌ์: Hyunwoo Kim (@v4bel)
* Dirty Frag ๊ณต์ ์ ์ฅ์
## ๋ฉด์ฑ
์กฐํญ
๋ณธ ๋ฌธ์๋ ๋ณด์ ์ฐ๊ตฌ ๋ฐ ํ์ต ๊ต๋ฅ ๋ชฉ์ ์ผ๋ก๋ง ์ ๊ณต๋๋ฉฐ, ์น์ธ๋์ง ์์ ์์คํ
ํ
์คํธ์ ์ฌ์ฉํ์ง ๋ง์ญ์์ค.
* * *
**์์ฑ์:** Bomb
**WeChat:** AK7777177 (๋ณด์ ์ฐ๊ตฌ ๊ต๋ฅ, ์ทจ์ฝ์ ๋ถ์ ํ์
)
## Star History
