Sploitus

Exploit for CVE-2021-4034

kitploit · 2026-08-27

Exploit Code

MARKDOWN44 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-PWNFUNCTION-CVE-2021-4034
# CVE-2021-4034

Локальное повышение привилегий через `pkexec`

## Видео на YouTube

![Видео PwnFunction на YouTube](https://assets.kitploit.com/production/public/readmes/19750/1bf5b6ed19d5d6beb05405fe8d00435ecacbf1ccda6d890e1f0f2df46281a591.png)

Смотрите ✨ видео на YouTube

## Запуск локально

root@kitploit:~
    
    
    make all && ./pwnkit && make clean
    

## Запуск в Docker

root@kitploit:~
    
    
    # Build the docker image
    docker build -t pwnkit .
    
    # Run the exploit
    docker run -it pwnkit bash
    make all && ./pwnkit && make clean
    

## Обнаружение с помощью snyk-cli

root@kitploit:~
    
    
    snyk container test pwnkit:latest --file=Dockerfile
    

## Ресурсы

  * Консультация по безопасности от Qualys
  * странности argv