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-55187 | Kitploit
Tools/GitHubGitHub/mallo-m/cve-2024-55187
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubmallo-m/cve-2024-55187

CVE-2024-55187

View Repository
7 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

Summary

Sensitive administrative parameters are not sufficiently sanitized, allowing an attacker to poison paths to system binaries.

The attacker can then upload dangerous CSV files that can then be treated as PHAR archives holding shell metacharacters that will be evaluated by PHP's exec() call, resulting in remote code execution.

Impact

  • Server takeover
  • Denial of Service
  • Loss of data

CVSS Score

Critical - 9.1 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Details

In the file functions/classes/class.Scan.php, we can the following code structure:

The first parameter of the exec() call is directly dependent on the $ping_path parameter, which can be freely modified from the Admin Settings panel:

The only condition the attacker must fulfill is to make the ping_verify_path function not return false. The definition of this method is the following:

This method relies solely on the file_exists() PHP native function. This particular function can support passing ZIP files (.zip extension is not necessary) and dive into the structure of the ZIP archive. For instance:

Therefore, if an attacker can upload a valid ZIP/PHAR archive on the server, which contains a file with a name containing shell metacharacters, it will bypass the file_exists() check and get those metacharacters evaluated by the exec() call.

An authenticated attacker can upload files through the "XLS / CSV subnet import" functionality:

Said file doesn't have to be a valid CSV file. If the import fails, the file will not be deleted from the server. We also know where it will be stored from the import-verify.php script:

The attacker has know all the prerequisites to execute a Remote Code Execution attack :

  • Craft a PHAR archive named "something.csv", containing 1 file whose name contain shell metacharacters
  • Upload the archive through the "Import subnet" functionality
  • Modify the "ping path" parameter through the Admin Panel
  • Trigger the RCE by requesting a ping scan

The malicious archive can be crafted like so:

Proof of Concept

https://www.youtube.com/watch?v=oMvyfFrlRAs

Discovery credits

  • mallo-m (https://github.com/mallo-m)
  • LeTeazer (https://github.com/LeTeazer)

Timeline

  • Dev 13th 2024 : CVE ID requested
  • Jan 10th 2025 : First reach out and advisory sent to phpIpam team
  • Mar 13th 2025 : Second reach out
  • Nov 11th 2025 : Final reach out to phpIpam team
  • Dec 24th 2025 : Advisory published
Download Tool