Exploit databaseDownload repository ZIP
GH-6e0f88ff03ddf4d23f187227c961c0ab
redfishrouge/cve-2026-58868-poc
Sources for CVE-2026-58868
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files9
redfishrouge/cve-2026-58868-pocRevision d37c7a14b9c3
- ↑..Parent directory
- build_harness.sh
- harness.cpp
- hook_arm64.py
- hook_x86_64.py
- killall.sh
- lldb_emulator.sh
- restart.sh
- run_emulator.sh
- run_pixel.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
rce/build_harness.sh
Shell · 963 bytes#!/bin/bash
# Build the in-process decoder harness for arm64 and push it to the phone.
# The phone is a `user` build: there is no adb root and SELinux forbids
# tracing mediaserver, so we replay the decode inside our own (shell) process.
#
# Needs the target libs pulled from the device, e.g.
# adb pull /system/lib64/libmediaplayerservice.so /root/phone/
# adb pull /system/lib64/libbinder_ndk.so /root/phone/
set -e
NDK=${NDK:-/opt/sdk/ndk/30.0.16248370}
CC=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android26-clang++
LIBDIR=${LIBDIR:-/root/phone}
SER=${SER:-34261FDH3006L9}
$CC -O1 -nostdlib++ -o /root/harness \
"$(dirname "$0")/harness.cpp" \
"$LIBDIR/libmediaplayerservice.so" \
"$LIBDIR/libbinder_ndk.so"
/opt/sdk/platform-tools/adb -s "$SER" push /root/harness /data/local/tmp/harness
/opt/sdk/platform-tools/adb -s "$SER" shell chmod 755 /data/local/tmp/harness
echo "built and pushed /data/local/tmp/harness"