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-21546 — This Python exploit script targets a vulnerable Laravel Filemanager created by UniSharp, which allows authenticated users to bypass file restrictions and upload malicious files. This can lead to Remote Code Execution (RCE) when the uploaded payload is triggered. | Kitploit
Tools/GitHubGitHub/ajdumanhug/cve-2024-21546
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHubajdumanhug/cve-2024-21546

CVE-2024-21546

This Python exploit script targets a vulnerable Laravel Filemanager created by UniSharp, which allows authenticated users to bypass file restrictions and upload malicious files. This can lead to Remote Code Execution (RCE) when the uploaded payload is triggered.

View Repository
5111 year 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-21546 Python Exploit

🔥 Description

This Python exploit script targets a vulnerable Laravel Filemanager created by UniSharp, which allows authenticated users to bypass file restrictions and upload malicious files. This can lead to Remote Code Execution (RCE) when the uploaded payload is triggered.

The exploit performs the following:

  • Validates the user-provided laravel_session
  • Extracts CSRF _token via regex
  • Uploads a fake PNG file containing a PHP reverse shell payload
  • Triggers the uploaded file

⚠️ Affected Versions

Version 2.9.1 and prior version

⚙️ Usage

root@kitploit:~
python3 CVE-2024-21546.py <target_url> <listener_ip> <listener_port> <laravel_session>

Important: Start your listener before running the script:

root@kitploit:~
nc -lvnp <listener_port>

💻 Sample Run

image

ℹ️ Reference

  • CVE-2024-21546
  • RCE through Upload Shell on Unisharp Laravel Filemanager
  • Commit 8170760
Download Tool