☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2025-1680

CVE-2025-1680 Host Header Injection in Moxa
📅 PUBLISHED: 2025-10-23 13:56 UTC 🔄 UPDATED: 2026-09-23 20:40 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.17%
👁️
0.17% probability
4.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-1680 is a Host Header Injection vulnerability affecting Moxa Ethernet switches. An attacker with administrative privileges can inject a specially crafted Host header into HTTP requests, enabling redirection, link forgery, or phishing attacks. The vulnerability does not impact the confidentiality, integrity, or availability of the device itself or subsequent systems. No public exploit code or proof-of-concept is available, and no patch has been released by Moxa at this time.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0, indicating that no official CVSS vector has been assigned. However, based on the description, the vulnerability requires administrative privileges and does not affect CIA triad of the device. The threat level is considered Low due to the high privilege requirement and lack of direct impact on device security. The primary risk is social engineering or phishing attacks leveraging the Host header injection.

Deep Dive & Mechanics

The vulnerability lies in the web service of Moxa Ethernet switches. When an HTTP request is sent to the device, the web server accepts untrusted data (the Host header) without proper validation. An attacker with administrative access can manipulate the Host header to contain arbitrary values. This can be used to:

  • Redirect users to malicious sites.
  • Forge links that appear to originate from the legitimate device.
  • Facilitate phishing attacks by presenting a trusted hostname.

The attack vector is network-based, requiring the attacker to have administrative privileges on the device. The impact is limited to user interaction and does not compromise the device's core functions.

Vulnerable vs. Patched Code

No specific code snippets are available. The vulnerability is a logic flaw in the HTTP header handling. A patched version would likely include validation of the Host header against a whitelist of allowed values or sanitization to reject invalid characters.

Vulnerable Code (Conceptual):

# Example of vulnerable code that trusts the Host header
def handle_request(request):
    host = request.headers.get('Host')
    # Directly using host in redirect or link generation
    redirect_url = f"http://{host}/login"
    return redirect(redirect_url)

Patched Code (Conceptual):

# Example of patched code with validation
def handle_request(request):
    host = request.headers.get('Host')
    allowed_hosts = ['switch.moxa.com', '192.168.1.1']
    if host not in allowed_hosts:
        host = allowed_hosts[0]  # Default to safe host
    redirect_url = f"http://{host}/login"
    return redirect(redirect_url)

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Administrative access to the Moxa switch.
  • Network connectivity to the device's web interface.

Exploitation Steps:

  1. Intercept an HTTP request to the Moxa switch using a proxy (e.g., Burp Suite).
  2. Modify the Host header to a malicious domain, e.g., Host: evil.com.
  3. Send the crafted request. The device may use the injected Host header in redirects or links.
  4. Use the manipulated response to redirect users or craft phishing links.

Example Request:

GET / HTTP/1.1
Host: evil.com
User-Agent: Mozilla/5.0

Blue Team

Detection:

  • Monitor HTTP requests for unusual or unexpected Host headers.
  • Look for requests where the Host header does not match the device's IP or expected domain.
  • Use network monitoring tools to alert on anomalies.

Mitigation:

  • Restrict administrative access to trusted IPs only.
  • Implement strict input validation on the Host header at the application level.
  • Use a reverse proxy to sanitize headers before they reach the device.

Indicators of Compromise (IOCs)

  • HTTP requests with Host headers containing unexpected domains or IPs.
  • Log entries showing redirects to external domains from the device.
  • Unusual outbound connections from the device to external hosts.

Detection Engineering

YARA Rule

rule CVE_2025_1680_Host_Header_Injection {
    meta:
        description = "Detects HTTP requests with suspicious Host headers targeting Moxa switches"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-1680"
    strings:
        $http_get = "GET / HTTP/1.1"
        $host_header = "Host:"
        $suspicious_host = /Host:\s*(?:[a-zA-Z0-9-]+\.)*evil\.com/
    condition:
        $http_get and $host_header and $suspicious_host
}

Sigma Rule

title: CVE-2025-1680 Host Header Injection Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects HTTP requests with manipulated Host headers targeting Moxa switches
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: moxa
detection:
    selection:
        cs-host|contains:
            - 'evil.com'
            - 'malicious'
    condition: selection
falsepositives:
    - Legitimate administrative testing
level: medium

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-1680 - Moxa Host Header Injection Attempt"; flow:to_server; content:"Host:"; nocase; pcre:"/Host:\s*(?:[a-zA-Z0-9-]+\.)*evil\.com/Hi"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  • Restrict administrative access to the device via firewall rules.
  • Use a reverse proxy or WAF to validate and sanitize Host headers.
  • Monitor logs for unusual Host header values.

Long-term Fix:

  • Apply firmware updates from Moxa when available.
  • Implement proper input validation in the web service code.
  • Conduct regular security assessments of network devices.

Workarounds:

  • Disable the web interface if not required.
  • Use HTTPS with strict hostname verification.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-1680/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.