Exploit database

GH-77b084c651f84d76fe59d880f4600f96

genaforvena/mishe-tauftauf2shell

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

412 sources

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

Repository files9

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

lab/frontier/sqlitesession2shell/build-all.sh

Shell · 1,395 bytes
#!/bin/sh
# Build ASan and plain harnesses against verbatim pinned SQLite 3.53.4 and
# 3.54.0 source trees. No upstream source file is edited.
set -eu
cd "$(dirname "$0")"
(cd pins && sha256sum -c SHA256SUMS)

for pin in vuln fixed; do
  case "$pin" in
    vuln) ver=3530400 ;;
    fixed) ver=3540000 ;;
  esac
  root="src-$pin/sqlite-src-$ver"
  if [ ! -d "$root" ]; then
    mkdir -p "src-$pin"
    unzip -q "pins/$pin.zip" -d "src-$pin"
  fi
  if [ ! -f "$root/sqlite3.c" ]; then
    # Upstream release archives omit the amalgamation; generate it with the
    # pinned ./configure and mksqlite3c.tcl, as the published PoC does.
    (cd "$root" && ./configure > configure.log 2>&1 && make sqlite3.c > make.log 2>&1)
  fi
  test -f "$root/sqlite3.h"
  for mode in asan plain; do
    if [ "$mode" = asan ]; then
      flags="-O1 -g -fsanitize=address -fno-omit-frame-pointer"
    else
      flags="-O1 -g"
    fi
    # shellcheck disable=SC2086
    cc -std=c99 $flags -DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_PREUPDATE_HOOK \
      -I"$root" harness.c "$root/sqlite3.c" -o "harness-$pin-$mode" \
      -lm -lpthread -ldl
  done
  # Loopback consumer with a tight custom allocator: one plain build per pin.
  cc -std=c99 -O1 -g -DSQLITE_ENABLE_SESSION -DSQLITE_ENABLE_PREUPDATE_HOOK \
    -I"$root" consumer.c "$root/sqlite3.c" -o "consumer-$pin-plain" \
    -lm -lpthread -ldl
done
echo BUILD_OK