Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-109619-php2shell-poc — Minimal PHP session upload progress use-after-free PoC and Docker lab. | Kitploit
Tools/GitHubGitHub/unlimit0118/cve-2026-109619-php2shell-poc
Container SecurityMemory ForensicsVulnerability AnalysisExploitationWeb Application ExploitationLabs & Practice
GitHubunlimit0118/cve-2026-109619-php2shell-poc

CVE-2026-109619-php2shell-poc

Share

Minimal PHP session upload progress use-after-free PoC and Docker lab.

View Repository
611 month agoNot yet reviewed

php2shell_poc

Local proof of concept for CVE-2026-109619, a use-after-free in PHP session upload progress. Tested with PHP 8.5.11, Apache, and x86-64.

Fixed versions: PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12.

Trigger: A multipart upload starts session progress and hits the PHP memory limit before the request resets session state. A later request on the same worker reuses the freed state.

Leak: Reclaiming the stale session ID with a forged length makes Set-Cookie expose heap and libphp addresses. The execution stage uses the same stale reference to run id>/tmp/p inside the container. The included lab pins the PHP image and uses one Apache worker.

Scope: The exploit accepts loopback HTTP URLs only, and Compose binds 127.0.0.1:18132; the container still uses Docker bridge networking. Hard-coded offsets target the pinned x86-64 build. Use only in an authorized lab.

Verification: Exit status alone does not prove command execution. Check /tmp/p as shown below. The sample www-data result was reproduced in this lab; patched builds were not tested here.

Run

docker compose up -d --build
python3 exploit.py
docker compose exec -T web cat /tmp/p

Example result:

leak: libphp=0x7ffffaa00000, heap=0x7ffffe000000
fire: HTTP/1.1 200 OK;
sent `id>/tmp/p`; verify inside the lab with: docker compose exec -T web cat /tmp/p
uid=33(www-data) gid=33(www-data) groups=33(www-data)
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    810
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    638
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    453
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    436
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    386

Explore all tools

Browse our collection of tools

View all tools →