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-63223-ctf — CodeIgniter 4 starter application packaged as a CTF lab environment for reproducing and practicing exploitation of CVE-2026-63223. | Kitploit
Tools/GitHubGitHub/myeongji1/cve-2026-63223-ctf
Vulnerability AnalysisWeb Application ExploitationWeb SecurityCTFLearning & EducationLabs & Practice
GitHubmyeongji1/cve-2026-63223-ctf

cve-2026-63223-ctf

CodeIgniter 4 starter application packaged as a CTF lab environment for reproducing and practicing exploitation of CVE-2026-63223.

View Repository
16 days agoNot yet reviewed
Share

CVE-2026-63223 - CodeIgniter 4 File Upload Bypass (RCE)

This is a file upload validation bypass vulnerability (CVE-2026-63223) in CodeIgniter 4.7.3. Because upload validation only checks the PNG magic bytes and does not inspect the file extension, a file containing PHP code can be uploaded, potentially leading to remote code execution (RCE).

Configuration

ItemValue
Base imagephp:8.2-apache
FrameworkCodeIgniter 4.7.3 (downloaded at build time)
External port10002 (internal port 80)
Vulnerable endpointPOST /upload/avatar (field name: avatar)
Upload path/uploads/shell.php
Flag location/flag (inside the container)

Build and Run

docker compose up -d --build

The flag is injected via the environment variable FLAG. The default is a placeholder (WINS{placeholder}); the real flag is not committed and is specified at run time.

FLAG='WINS{real_flag}' docker compose up -d --build

You can check the container status with the following.

docker compose ps
curl -I http://localhost:10002/

Resource Limits

  • Memory: 256m
  • CPU: 0.5
  • Health check: checks http://localhost:80/ every 30 seconds

Running the Exploit Script

python3 exploit/exploit.py http://localhost:10002

On success, the uploaded shell.php executes cat /flag and outputs the result.

Architecture

This challenge does not depend on binaries specific to a particular architecture. However, building and operation must be verified on the architectures supported by the php:8.2-apache image (x86_64, ARM64).

Notes

  • During the build, the CodeIgniter release archive and Composer packages are downloaded from GitHub. At run time, there is no dependency on the external internet.
  • Settings that allow privilege escalation (privileged, mounting docker.sock, mounting host paths) are not used.

Related Documents

  • Solution walkthrough: WRITEUP.md
  • Exploit script: exploit/exploit.py
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

No popularity data yet.

Explore all tools

Browse our collection of tools

View all tools →