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
Tools/GitHubGitHub/joaovicdev/exploit-cve-2025-27515
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationPayload Development
GitHubjoaovicdev/exploit-cve-2025-27515

EXPLOIT-CVE-2025-27515

PoC of CVE-2025-27515

View Repository
25 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-2025-27515 Proof of Concept

A practical demonstration of CVE-2025-27515, a file upload validation bypass vulnerability in Laravel Framework (≤ 12.0.0).

Vulnerability Overview

CVE-2025-27515 is a validation bypass that allows attackers to circumvent file upload restrictions when Laravel applications use wildcard validation patterns (files.*). The vulnerability enables uploading of malicious files by exploiting weaknesses in how Laravel processes array-based file uploads.

Severity: Medium/High
CWE: CWE-20 (Improper Input Validation)

Attack Vector

The exploit uses a polyglot JPEG+PHP file that:

  • Contains valid JPEG magic bytes (FF D8 FF E0) to bypass MIME type validation
  • Includes embedded PHP code (<?php system($_GET['cmd']); ?>)
  • Uses .jpg extension to pass file extension checks

Quick Start

Run the Vulnerable Application

Download Tool
root@kitploit:~
php artisan serve
# Access at http://localhost:8000/upload

Execute the Exploit

Python version:

root@kitploit:~
pip3 install -r requirements.txt
python3 exploit.py http://localhost:8000

⚠️ Disclaimer

FOR EDUCATIONAL AND AUTHORIZED SECURITY TESTING ONLY

  • This is an intentionally vulnerable environment
  • Do not use in production systems
  • Only test on systems you own or have explicit permission to test
  • Unauthorized access to computer systems is illegal

References

  • NVD - CVE-2025-27515
  • Laravel Security
  • OWASP File Upload Security

By Guaxinim | Cyber Security Research