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-2024-55187 — Detailed CVE-2024-55187 advisory with proof-of-concept for a remote code execution vulnerability in phpIpam, exploiting path poisoning and PHAR file upload to achieve server takeover. | Kitploit
Tools/GitHubGitHub/mallo-m/cve-2024-55187
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubmallo-m/cve-2024-55187

CVE-2024-55187

Detailed CVE-2024-55187 advisory with proof-of-concept for a remote code execution vulnerability in phpIpam, exploiting path poisoning and PHAR file upload to achieve server takeover.

View Repository
2811 months agoNot yet reviewed
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

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    930
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    554
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    354
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    349
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →