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-2024-44902-env — Vulnerable ThinkPHP 8.0.4 test environment for CVE-2024-44902 nuclei template validation | Kitploit
Tools/GitHubGitHub/kre80r/cve-2024-44902-env
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubkre80r/cve-2024-44902-env

CVE-2024-44902-env

Vulnerable ThinkPHP 8.0.4 test environment for CVE-2024-44902 nuclei template validation

View Repository
19 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-2024-44902 - ThinkPHP Insecure Deserialization RCE

Vulnerable environment for nuclei-templates validation.

Vulnerability Details

FieldValue
CVE IDCVE-2024-44902
SeverityCritical (CVSS 9.8)
ProductThinkPHP
Affected Versions6.1.3 - 8.0.4
TypeInsecure Deserialization → RCE
CWECWE-502

Description

ThinkPHP versions 6.1.3 through 8.0.4 contain an insecure deserialization vulnerability. When the Memcached PHP extension is installed, attackers can execute arbitrary code by sending malicious serialized data to an endpoint that calls unserialize() on user input.

The exploit leverages a gadget chain through ThinkPHP's internal classes:

root@kitploit:~
ResourceRegister → DbManager → Memcached → Pivot → Model

Quick Start

root@kitploit:~
git clone https://github.com/KrE80r/CVE-2024-44902-env.git
cd CVE-2024-44902-env
docker compose up -d

Testing

root@kitploit:~
# Verify app is running
curl http://localhost:8080/

# Test with nuclei template
nuclei -t CVE-2024-44902.yaml -u http://localhost:8080 -debug

# Cleanup
docker compose down

Environment Details

This environment is a ThinkPHP application created with composer create-project:

  • Base Image: php:8.0.7-apache
  • App Skeleton: topthink/think:v8.0.0
  • Framework: topthink/framework:8.0.4 (vulnerable)
  • PHP Extension: Memcached 3.2.0 (required for gadget chain)
  • Vulnerable Endpoint: /api/import?data=<serialized_payload>
  • Port: 8080

Why This Environment

The vulnerable controller simulates scenarios where applications:

  • Process serialized data from external cache systems
  • Handle session data from external stores
  • Accept data from legacy APIs or migration tools
  • Restore cached objects from serialized format

This is a proper ThinkPHP application structure with standard routing and controller patterns.

Expected Results

Vulnerable Target (should detect)

root@kitploit:~
$ nuclei -t CVE-2024-44902.yaml -u http://localhost:8080
[CVE-2024-44902] [http] [critical] http://localhost:8080/api/import?data=...

Clean Target (should NOT detect)

root@kitploit:~
$ nuclei -t CVE-2024-44902.yaml -u http://localhost:8090  # httpd:latest
# No results

References

  • NVD CVE-2024-44902
  • GitHub Advisory GHSA-f4wh-359g-4pq7
  • GitLab Advisory

Disclaimer

This is a DELIBERATELY VULNERABLE environment for security testing ONLY.

  • Do NOT deploy in production
  • Do NOT expose to the internet
  • Use only for authorized security testing
  • Intended for nuclei template validation
Download Tool