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
Tools/GitHubGitHub/f4dee-backup/cve-2025-54123
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlLearning & Education
GitHubf4dee-backup/cve-2025-54123

CVE-2025-54123

Proof-of-concept exploit for CVE-2025-54123, a critical authenticated command injection in Hoverfly <= 1.11.3, enabling remote code execution via the middleware API endpoint.

View Repository
297 months agoNot yet reviewed
Share

CVE-2025-54123 - Hoverfly Command Injection (RCE)

PoC CVE-2025-54123 - Middleware Command Injection in Hoverfly


📌 CVE Details

  • ID: CVE-2025-54123
  • Type: Command Injection / Remote Code Execution (RCE)
  • Vendor: Hoverfly
  • Impact: Allows authenticated attackers to execute arbitrary system commands via the middleware API endpoint.
  • Affected Versions: Hoverfly ≤ 1.11.3
  • More Info:
    • GHSA-r4h8-hfp2-ggmf
    • [NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-54123]

⚙️ Description

This vulnerability affects Hoverfly versions ≤ 1.11.3 and specifically targets the /api/v2/hoverfly/middleware endpoint. It is caused by insufficient input validation and sanitization in multiple files, including middleware.go, local_middleware.go, and hoverfly_service.go. User-controlled input provided to the script parameter is passed directly to a system binary (e.g., /bin/bash) without proper checks, allowing Remote Command Execution (RCE) with the privileges of the Hoverfly process.

  • CVSS v3.1 Score: 9.8 (CRITICAL) — high impact, low attack complexity.
  • Impact: An authenticated attacker can execute arbitrary commands on the underlying system, potentially leading to full system compromise.
  • Mitigation: In versions ≥ 1.12.0, the affected middleware API is disabled by default. Users are strongly advised to upgrade or restrict access to the middleware endpoint.

🚀 Usage

🔧 Requirements

  • curl

📥 Installation

git clone https://github.com/f4dee-backup/CVE-2025-54123
cd CVE-2025-54123
chmod +x CVE-2025-54123.sh

🧪 Help Panel

./CVE-2025-54123.sh -h

 ██████╗██╗   ██╗███████╗    ██████╗  ██████╗ ██████╗ ███████╗      ███████╗██╗  ██╗ ██╗██████╗ ██████╗
██╔════╝██║   ██║██╔════╝    ╚════██╗██╔═████╗╚════██╗██╔════╝      ██╔════╝██║  ██║███║╚════██╗╚════██╗
██║     ██║   ██║█████╗█████╗ █████╔╝██║██╔██║ █████╔╝███████╗█████╗███████╗███████║╚██║ █████╔╝ █████╔╝
██║     ╚██╗ ██╔╝██╔══╝╚════╝██╔═══╝ ████╔╝██║██╔═══╝ ╚════██║╚════╝╚════██║╚════██║ ██║██╔═══╝  ╚═══██╗
╚██████╗ ╚████╔╝ ███████╗    ███████╗╚██████╔╝███████╗███████║      ███████║     ██║ ██║███████╗██████╔╝
 ╚═════╝  ╚═══╝  ╚══════╝    ╚══════╝ ╚═════╝ ╚══════╝╚══════╝      ╚══════╝     ╚═╝ ╚═╝╚══════╝╚═════╝
Hoverfly <= 1.11.3 - Authenticated Middleware Command Injection

[?] Parameters description:

	-t    Target base URL (e.g., http://target:8888)
	-u    Valid username
	-p    Valid password
	-c    Command to execute (must be enclosed in double quotes)
	-h    Show this help panel

[i] Example:
./CVE-2025-54123.sh -t http://target.com:8888 -u admin -p password -c "id"

⚠️ Notes

  • Authentication is required to obtain a valid token.
  • Multiple failed authentication attempts may trigger temporary blocking depending on internal configuration.
  • Behavior may vary depending on deployment (e.g., Docker vs native).

⚠️ Disclaimer

This exploit is intended for educational and authorized security testing purposes only.

Do NOT use this against systems without explicit permission. Unauthorized access may be illegal.

The author assumes no responsibility for misuse or any damage caused.

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.

    951
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    683
  • 3

    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.

    427
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    392
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    344
  • 6

    ARTEX

    baarai/artex

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

    336

Explore all tools

Browse our collection of tools

View all tools →