On this page
Atomicorp WAF Research Note: CVE-2025-54123
Hoverfly <= 1.11.3 - Remote Code Execution
CVE Details
- Already protected by existing Atomicorp WAF rules
- Protection status: Understanding Atomicorp WAF Protection Status
- CVE: CVE-2025-54123
- Name: Hoverfly <= 1.11.3 - Remote Code Execution
- Severity: Critical
- CVSS: 9.8 (v3.1) (Critical)
- CVSS version: 3.1
- CVSS source: N/A
- CVSS vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- CWE: CWE-20 — Improper Input Validation, CWE-78 — Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’)
- Related CAPEC attack patterns (via MITRE CWE relationships): CAPEC-10 (opens in a new tab) , CAPEC-101 (opens in a new tab) , CAPEC-104 (opens in a new tab) , CAPEC-108 (opens in a new tab) , CAPEC-109 (opens in a new tab) , CAPEC-110 (opens in a new tab) , CAPEC-120 (opens in a new tab) , CAPEC-13 (opens in a new tab) , CAPEC-135 (opens in a new tab) , CAPEC-136 (opens in a new tab) , CAPEC-14 (opens in a new tab) , CAPEC-15 (opens in a new tab) , CAPEC-153 (opens in a new tab) , CAPEC-182 (opens in a new tab) , CAPEC-209 (opens in a new tab) , CAPEC-22 (opens in a new tab) , CAPEC-23 (opens in a new tab) , CAPEC-230 (opens in a new tab) , CAPEC-231 (opens in a new tab) , CAPEC-24 (opens in a new tab) , CAPEC-250 (opens in a new tab) , CAPEC-261 (opens in a new tab) , CAPEC-267 (opens in a new tab) , CAPEC-28 (opens in a new tab) , CAPEC-3 (opens in a new tab) , CAPEC-31 (opens in a new tab) , CAPEC-42 (opens in a new tab) , CAPEC-43 (opens in a new tab) , CAPEC-45 (opens in a new tab) , CAPEC-46 (opens in a new tab) , CAPEC-47 (opens in a new tab) , CAPEC-473 (opens in a new tab) , CAPEC-52 (opens in a new tab) , CAPEC-53 (opens in a new tab) , CAPEC-588 (opens in a new tab) , CAPEC-6 (opens in a new tab) , CAPEC-63 (opens in a new tab) , CAPEC-64 (opens in a new tab) , CAPEC-664 (opens in a new tab) , CAPEC-67 (opens in a new tab) , CAPEC-7 (opens in a new tab) , CAPEC-71 (opens in a new tab) , CAPEC-72 (opens in a new tab) , CAPEC-73 (opens in a new tab) , CAPEC-78 (opens in a new tab) , CAPEC-79 (opens in a new tab) , CAPEC-8 (opens in a new tab) , CAPEC-80 (opens in a new tab) , CAPEC-81 (opens in a new tab) , CAPEC-83 (opens in a new tab) , CAPEC-85 (opens in a new tab) , CAPEC-88 (opens in a new tab) , CAPEC-9 (opens in a new tab)
- Vendor: hoverfly
- Vulnerable product: hoverfly
- CVE published: 2025-09-10
- CVE last modified: 2026-06-17
- Affected versions (NVD configurations):
- hoverfly: < 1.12.0
- EPSS: 0.1054; 95.5th percentile (FIRST (opens in a new tab) )
- Latest Update: 2026-09-06
- Selected Rule IDs observed: 344360
- Matching rules: 1; rules with blocking actions: 1
- Would-block Rule IDs: 344360
- Request surfaces inspected: JSON request data, Request argument names, Request arguments, Request cookies, SOAP request data, XML request data
Technical CPE data
This section lists vulnerable CPE matches retained from the NVD configurations. It supplements the readable affected-product information above.
cpe:2.3:a:hoverfly:hoverfly:*:*:*:*:*:*:*:*- Version end (exclusive):
1.12.0 - NVD match criteria ID:
52876127-6BCA-42D6-9133-2A7A0B326DE8
- Version end (exclusive):
Vulnerability Description
Hoverfly is an open source API simulation tool. In versions 1.11.3 and prior, the middleware functionality in Hoverfly is vulnerable to command injection vulnerability at /api/v2/hoverfly/middleware endpoint due to insufficient validation and sanitization in user input. The vulnerability exists in the middleware management API endpoint /api/v2/hoverfly/middleware. This issue is born due to combination of three code level flaws: Insufficient Input Validation in middleware.go line 94-96; Unsafe Command Execution in local_middleware.go line 14-19; and Immediate Execution During Testing in hoverfly_service.go line 173. This allows an attacker to gain remote code execution (RCE) on any system running the vulnerable Hoverfly service. Since the input is directly passed to system commands without proper checks, an attacker can upload a malicious payload or directly execute arbitrary commands (including reverse shells) on the host server with the privileges of the Hoverfly process. Commit 17e60a9bc78826deb4b782dca1c1abd3dbe60d40 in version 1.12.0 disables the set middleware API by default, and subsequent changes to documentation make users aware of the security changes of exposing the set middleware API.
Recommended Actions
Maintain the observed Atomicorp protections. Keep your Atomicorp commercial rules current and confirm that the selected observed rules (344360 ) have not been locally disabled. Atomicorp commercial rules are enabled by default. If you use Atomic WAF, review the applicable policy and rule settings.
Apply the vendor’s remediation. WAF protection is defense in depth and does not replace upgrading or following the affected vendor’s guidance.
- Affected versions: SpectoLabs hoverfly version <= 1.11.3.
- The CVE record does not include written upgrade or workaround instructions, but it does publish the following patch or mitigation reference:
Validate after changes. Confirm rule updates are current, review WAF events for the affected application, and test application behavior after vendor upgrades, mitigations, or local policy changes.
Research Notes
Atomicorp WAF protections are designed around attack techniques and exploit behaviors, allowing existing protections to apply across multiple vulnerabilities without requiring a unique rule for every CVE.
Public Vulnerability References
- NVD (opens in a new tab)
- CVE Record (opens in a new tab)
- CVE authority reference: https://github.com/SpectoLabs/hoverfly/blob/master/core/hoverfly_service.go#L173 (opens in a new tab)
- CVE authority reference: https://github.com/SpectoLabs/hoverfly/blob/master/core/middleware/local_middleware.go#L13 (opens in a new tab)
- CVE authority reference: https://github.com/SpectoLabs/hoverfly/blob/master/core/middleware/middleware.go#L93 (opens in a new tab)
- Patch or mitigation: https://github.com/SpectoLabs/hoverfly/commit/17e60a9bc78826deb4b782dca1c1abd3dbe60d40 (opens in a new tab)
- Patch or mitigation: https://github.com/SpectoLabs/hoverfly/commit/a9d4da7bd7269651f54542ab790d0c613d568d3e (opens in a new tab)
- Vendor advisory: https://github.com/SpectoLabs/hoverfly/security/advisories/GHSA-r4h8-hfp2-ggmf (opens in a new tab)
Test or Research Source
- Source: http/cves/2025/CVE-2025-54123.yaml (opens in a new tab)
- Tags: cve, cve2025, hoverfly, intrusive, rce, vkev, vuln
Research Note Context
This research note documents exploit-technique analysis associated with this vulnerability and references Atomicorp WAF protections observed during engineering review, testing, or validation activities.
Atomicorp security controls are generally designed to identify and mitigate attack techniques and exploit behaviors rather than individual CVE identifiers. As a result, protections developed for one vulnerability may also apply to related attack variants and future vulnerabilities using similar techniques.
Learn More
Atomicorp develops commercially supported security technologies for web applications, servers, endpoints, workloads, and legacy enterprise platforms.
Organizations interested in protecting systems against exploit techniques associated with vulnerabilities such as this one can learn more about:
- Atomic ModSecurity Rules: commercially maintained WAF rules for ModSecurity deployments, including protections for web attacks, bots, scanners, malware, exploitation attempts, and emerging vulnerability classes.
- Atomic WAF: an enterprise web application firewall with Atomicorp rules, centralized management, reporting, authentication controls, and operational tooling.
- Atomic ModSecurity Integrator: a special licensing option for MSPs, MSSPs, OEMs, VARs, reverse proxy providers, and other integrators who want to incorporate Atomicorp ModSecurity rule technology into their own products or services.
- Atomic OSSEC: an enterprise OSSEC-based intrusion detection, compliance, and security monitoring platform.
- Atomic Protector: workload protection for Linux, web, cloud, data center, and hybrid environments.
For additional information, product evaluations, or technical discussions, visit https://www.atomicorp.com/ or https://modsecurity.io/ (opens in a new tab) .