forked from msr00t/0day
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
813 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
LDFLAGS = -no-pie -I/usr/include/fuse -lfuse -pthread -lmnl -lnftnl | ||
CC = gcc | ||
|
||
all: exploit | ||
|
||
.PHONY: exploit | ||
exploit: | ||
$(CC) exploit.c fakefuse.c util.c -o exploit $(CFLAGS) $(LDFLAGS) | ||
|
||
clean: | ||
rm -f exploit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# CVE-2022-25636 Linux 本地提权 | ||
This is my exploit for `CVE-2022-25636`. | ||
I tested it against Ubuntu 21.10 with kernel `5.13.0-30`. | ||
Works about `~40%` of the time, in the other cases you likely get a kernel panic. | ||
The exploit might corrupt important data on heap, after an unsuccessful attempt it's best to reboot. | ||
|
||
## USAGE | ||
编译完成后,直接运行即可 | ||
|
||
![执行结果](poc.png) |
Oops, something went wrong.