Lucene search
+L

18 matches found

Kitploit
Kitploit
added 2026/09/15 3:58 a.m.9 views

CVE-2021-4034-PwnKit-

CVE-2021-4034 PwnKit - 分析与利用 此仓库包含演示 CVE-2021-4034 漏洞利用的源代码,该漏洞也被称为 PwnKit ,发现于 pkexec(Polkit 包的一部分)。该缺陷允许通过使用恶意环境变量 本地提权至 root 。 ⚠️ 警告 此代码仅供 教育和研究目的 使用。不得在生产系统上或未经明确授权的情况下使用。滥用可能违法,并违反作者的使用条款。 🧠 技术描述 当 pkexec 在没有参数的情况下执行时(即 argc == 0),该漏洞出现。在这种情况下,pkexec 尝试访问 argv1 而不检查 argv0 是否存在,导致它读取...

7.8CVSS7.4AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/14 11:40 p.m.7 views

CVE-2021-4034

CVE-2021-4034 针对 polkit 提权利用的一日版 只需执行 make,再运行 ./cve-2021-4034,即可获得 root shell。 原始公告由真正作者发布在这里 PoC 如果利用成功,你将立即获得 root shell: root@kitploit: vagrant@ubuntu-impish:/CVE-2021-4034$ make cc -Wall --shared -fPIC -o pwnkit.so pwnkit.c cc -Wall cve-2021-4034.c -o cve-2021-4034 echo "module UTF-8//...

7.8CVSS7.4AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/14 8:33 p.m.7 views

PwnKit

PwnKit 此仓库包含一个我开发的漏洞利用程序,用于理解 Polkit Pkexec 漏洞:CVE-2021-4034 Pkexec 本地权限提升。Polkit(原名 PolicyKit)是一个组件,其功能是控制类 Unix 操作系统上的权限。它以有序的方式提供了一种机制,让无特权进程能够与有特权进程通信。该漏洞允许任何用户——系统上的普通用户,无管理权限——达到系统最高权限。 该漏洞发生在 pkexec 的 main 函数处理命令行参数时,当参数为 0 时。该函数尝试访问参数列表,最终试图访问 argvvoid(一个命令行参数控制器),也就是说,当 pkexec...

7.8CVSS7.1AI score0.94921EPSS
SaveExploits155References2
Kitploit
Kitploit
added 2026/09/13 3:03 p.m.5 views

CVE-2021-4034

概念验证(Proof of Concept):CVE-2021-4034 PwnKit 注意: 本存储库及其内容是毕业论文(GrAL)的一部分,仅出于教学目的和学术研究而创建。 描述 本存储库包含针对 CVE-2021-4034 漏洞(也称为 PwnKit)的概念验证(PoC - Proof of Concept)。此内存破坏漏洞影响 Linux 系统中 Polkit 的 pkexec 组件。当 pkexec 以空参数列表(argc == 0)执行时,可以操纵环境变量,迫使其加载任意共享库,从而实现本地权限提升。 利用阶段(环境分析)...

7.8CVSS7AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/13 12:40 a.m.7 views

cve-2021-4034

cve-2021-4034 mkdir -p 'GCONVPATH=.'; touch 'GCONVPATH=./pwnkit'; chmod a+x 'GCONVPATH=./pwnkit' mkdir -p pwnkit; echo 'module UTF-8// PWNKIT// pwnkit 2' pwnkit/gconv-modules echo...

7.8CVSS6.8AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/10 1:39 a.m.9 views

CVE-2021-4034

CVE-2021-4034 polkit 权限提升漏洞的一日利用 只需执行 make、./cve-2021-4034,即可享受 root shell。 原作者发布的官方公告见此处 PoC 如果利用成功,你将立即获得 root shell: root@kitploit: localuser@ubuntu-poc:/CVE-2021-4034$ make cc -Wall --shared -fPIC -o pwnkit.so pwnkit.c cc -Wall cve-2021-4034.c -o cve-2021-4034 echo "module UTF-8// PWNKIT//...

7.8CVSS7.1AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/10 1:35 a.m.5 views

CVE-2021-4034

CVE-2021-4034 Polkit 的 Pkexec CVE-2021-4034 概念验证与补丁 已在完全修补的 Ubuntu 21.10 上确认 PoC 修补 https://blog.qualys.com/vulnerabilities-threat-research/2022/01/25/pwnkit-local-privilege-escalation-vulnerability-discovered-in-polkits-pkexec-cve-2021-4034 已在完全修补的 Ubuntu 21.10 上确认: PoC: root@kitploit: / 编译:gcc...

7.8CVSS7.1AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/10 1:34 a.m.15 views

CVE-2021-4034

CVE-2021-4034 One day for the polkit privilege escalation exploit Just execute make, ./cve-2021-4034 and enjoy your root shell. The original advisory by the real authors is here PoC If the exploit is working you'll get a root shell immediately: root@kitploit: localuser@ubuntu-poc:/CVE-2021-4034$...

7.8CVSS7.1AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/10 1:02 a.m.7 views

CVE-2021-4034_POC

CVE-2021-4034 - Prueba de concepto Esta POC explota gprinterr de GLib para lograr la ejecución de código mediante la inyección de la variable de entorno GCONVPATH. Ejecutar el exploit Crea un archivo tarball del exploit: root@kitploit: make tar Luego transfiere de alguna manera el tar generado a ...

7.8CVSS7.1AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/10 12:58 a.m.6 views

CVE-2021-4034-POC

CVE-2021-4034-POC 由 Qualys 发现的 pwnkit 漏洞的 POC。 编译并执行: root@kitploit: gcc lpe.c -o lpe; ./lpe 创建以下目录/文件结构: root@kitploit: /tmp ├── GCONVPATH=. │ └── test ├── payload.c ├── payload.so ├── test │ └── gconv-modules 参考 https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt...

7.8CVSS7.1AI score0.94921EPSS
SaveExploits155References1
Kitploit
Kitploit
added 2026/09/10 12:58 a.m.7 views

CVE-2021-4034

CVE-2021-4034 这是一个为 CVE-2021-4034 创建的漏洞利用程序,用作 POC。它基于 https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt 上的信息。 使用方法: 下载漏洞利用文件夹。使用 gcc prog.c 编译 prog.c。 进入 GCONVPATH=. 文件夹,确保 "code" 文件具有可执行权限(chmod +x code)。 进入 "code" 文件夹,使用 gcc payload.c -o payload.so -shared -fPIC 编译 payload.c。...

7.8CVSS7AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/10 12:50 a.m.5 views

Polkit-s-Pkexec-CVE-2021-4034

CVE-2021-4034 Polkit 的 Pkexec CVE-2021-4034 概念验证与补丁 已在完全修补的 Ubuntu 21.10 上确认 PoC 修补 https://blog.qualys.com/vulnerabilities-threat-research/2022/01/25/pwnkit-local-privilege-escalation-vulnerability-discovered-in-polkits-pkexec-cve-2021-4034 已在完全修补的 Ubuntu 21.10 上确认: PoC: root@kitploit: / 编译:gcc...

7.8CVSS7.1AI score0.94921EPSS
SaveExploits155
Kitploit
Kitploit
added 2026/09/10 12:49 a.m.5 views

pkwned

pkwned:CVE-2021-4034 的概念验证 此 PoC 将以 root 权限运行 PAYLOADPATH(在 constants.h 中定义),前提是运行在 glibc 上的 pkexec 存在漏洞。目录 "GCONVPATH=." 中需要包含一个可执行文件,其名称与包含 gconv 模块的目录同名。 正如 Qualys 公告 1 中所述,这会产生一条 syslog 消息。到目前为止,我找到了两种方法来阻止这种情况: 通过使用 gfindprograminpath,pkexec 会使用 gfiletest 执行一次 access...

7.8CVSS6.9AI score0.94921EPSS
SaveExploits155References1
Kitploit
Kitploit
added 2026/09/10 12:47 a.m.8 views

CVE-2021-4034

CVE-2021-4034 针对 pwnkit 漏洞 的利用程序, 该漏洞由 Qualys 团队发现。 此利用程序假设目标机器上存在 gcc。 root@kitploit: $ id uid=1001ayrx gid=1002ayrx groups=1002ayrx,27sudo $ ./setup.sh 在一个 bash 会话中运行以下命令: root@kitploit: while :; do mv "GCONVPATH=./value" "GCONVPATH=./value.bak"; mv "GCONVPATH=./value.bak" "GCONVPATH=./value";...

7.8CVSS7.1AI score0.94921EPSS
SaveExploits155
Huntr
Huntr
added 2023/10/13 9:17 a.m.24 views

Restricted vim sandbox escape

Description Restricted vim doesn't allow executing shell commands but it's possible to bypass this by setting GCONVPATH environment variable. I'm not sure if this can be consider a vulnerability but I decided to report it anyway found this while playing TeamItaly CTF . Proof of Concept Save this...

7.1AI score
SaveExploits0
GithubExploit
GithubExploit
added 2022/02/20 5:49 p.m.388 views

Exploit for Out-of-bounds Write in Polkit_Project Polkit

CVE-2021-4034 - Proof Of Concept This POC exploits GLib's...

7.8CVSS7.9AI score0.94921EPSS
SaveExploits155
GithubExploit
GithubExploit
added 2022/01/28 3:13 p.m.723 views

Exploit for Out-of-bounds Write in Polkit_Project Polkit

CVE-2021-4034 CVE-2021-4034: Add Root User – Pkexec Local Pri...

7.8CVSS6.9AI score0.94921EPSS
SaveExploits155
GithubExploit
GithubExploit
added 2022/01/26 5:42 a.m.396 views

Exploit for Out-of-bounds Write in Polkit_Project Polkit

CVE-2021-4034 This is an exploit created for CVE-2021-4034 m...

7.8CVSS7.4AI score0.94921EPSS
SaveExploits155
Rows per page
Query Builder