Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-3007-docker-poc — Reproducible Proof-of-Concept for CVE-2021-3007 (Laminas/Zend HTTP deserialization RCE) with a standalone exploit script, Nuclei template, and Docker-based vulnerable environment for authorized security testing. | Kitploit
Tools/GitHubGitHub/yunus-a1i/cve-2021-3007-docker-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationPayload Development
GitHubyunus-a1i/cve-2021-3007-docker-poc

CVE-2021-3007-docker-poc

Reproducible Proof-of-Concept for CVE-2021-3007 (Laminas/Zend HTTP deserialization RCE) with a standalone exploit script, Nuclei template, and Docker-based vulnerable environment for authorized security testing.

View Repository
29 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-3007 — Laminas/Zend HTTP Deserialization RCE

This repository contains a fully reproducible Proof-of-Concept and Nuclei exploit template for CVE-2021-3007, a critical PHP deserialization vulnerability in Zend\Http\Response\Stream (laminas-http < 2.14.2) that allows arbitrary file write via attacker-controlled serialized objects.

This template uses real exploitation logic (not version-based detection) and includes a Docker environment and debug output for verification.


Affected Versions

  • laminas/laminas-http < 2.14.2
  • zendframework/zend-http <= 2.14.1

Project Layout

CVE-2021-3007/ ├── CVE-2021-3007.yaml -> Nuclei exploit template ├── docker-compose.yml -> Vulnerable test environment ├── Dockerfile ├── vulnerable-app/ │ ├── index.php -> unserialize() vulnerable endpoint │ └── composer.json -> vulnerable dependency ├── exploit.php -> Standalone exploit script └── README.txt


Requirements

  • Docker / Docker Compose
  • Nuclei v3+

Run the PoC

  1. Start vulnerable application

    docker-compose up -d

    Verify: curl http://127.0.0.1:8080


  1. Manual exploit test (optional)

    docker exec -it cve-2021-3007-vulnerable php /var/www/html/exploit.php
    http://localhost/index.php test.txt proof


  1. Run Nuclei template and collect debug logs

    nuclei -u http://127.0.0.1:8080
    -t CVE-2021-3007.yaml
    -debug -vv
    -o nuclei-debug-CVE-2021-3007.log

    The debug log contains complete HTTP requests, payload data, and exploit verification responses.


Cleanup

docker-compose down -v


Submission Notes

This PoC satisfies the Nuclei Rewards Program requirements:

  • Real exploit payload (not version detection)
  • Multi-step exploitation flow
  • Full -debug execution evidence
  • Reproducible vulnerable Docker environment

Files for PR submission:

  • CVE-2021-3007.yaml
  • nuclei-debug-CVE-2021-3007.log
  • Dockerfile
  • docker-compose.yml

References

  • CVE-2021-3007 (NVD)
  • Laminas Security Advisory LP-2021-01
  • CheckPoint FreakOut botnet research
  • VulnMachines PoC repository

Legal

For educational and authorized security testing only.

Download Tool