☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 🐛 CWE-120
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-25526

CVE-2025-25526 Buffer Overflow in Mercury
📅 PUBLISHED: 2025-02-11 00:00 UTC 🔄 UPDATED: 2026-08-12 09:03 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.09%
👁️
0.09% probability
2.2× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: UNKNOWN / CHECK VENDOR
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-25526 is a critical buffer overflow vulnerability discovered in the Mercury MIPC552W IP camera (firmware version v1.0). The flaw resides in the PPTP server configuration component, where the lack of input length verification allows an attacker to overflow a buffer. Successful exploitation can lead to a denial of service (device crash) or arbitrary code execution on the affected camera. As of this report, no official patch has been released by Mercury, and no public proof-of-concept (PoC) or exploit code is available. The vulnerability is classified under CWE-120 (Buffer Copy without Checking Size of Input). Given the device's role in surveillance and IoT networks, this poses a significant risk for lateral movement and persistent access within compromised environments.

⚡ 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

Supply Chain & Package Security

This vulnerability is not related to any software package manager (NPM, PyPI, Go, Ruby). It is a firmware-level issue in an embedded IoT device. Supply chain risk is limited to the physical device and its firmware distribution channels.

CVSS Breakdown & Threat Level

The NVD has not assigned a CVSS score or vector for this CVE. Based on the description and impact, a reasonable assessment is:

  • Attack Vector (AV): Network (AV:N) – The PPTP server is network-accessible.
  • Attack Complexity (AC): Low (AC:L) – No special conditions required.
  • Privileges Required (PR): None (PR:N) – No authentication needed to trigger the overflow.
  • User Interaction (UI): None (UI:N) – No user action required.
  • Scope (S): Unchanged (S:U) – The vulnerable component is the camera itself.
  • Confidentiality (C): High (C:H) – Arbitrary code execution can leak sensitive data.
  • Integrity (I): High (I:H) – Code execution allows modification of device state.
  • Availability (A): High (A:H) – The overflow can crash the device.

Estimated CVSS v3.1 Score: 9.8 (Critical)

Threat Level: Critical. The vulnerability is remotely exploitable without authentication, and the device is often exposed to the internet or internal networks.

Deep Dive & Mechanics

The vulnerability exists in the PPTP server implementation within the Mercury MIPC552W camera firmware. PPTP (Point-to-Point Tunneling Protocol) is used for VPN connectivity. The server likely processes incoming control messages (e.g., Start-Control-Connection-Request, Outgoing-Call-Request) without properly validating the length of fields such as the hostname, username, or password.

Root Cause: The code copies attacker-supplied data into a fixed-size stack or heap buffer using a function like strcpy() or sprintf() without bounds checking. When the input exceeds the buffer size, it overwrites adjacent memory regions, including the return address or function pointers.

Attack Vector: An unauthenticated attacker sends a specially crafted PPTP packet to the camera's IP address on the default PPTP port (TCP 1723). The packet contains an oversized field in one of the PPTP control messages.

Impact:

  • Denial of Service (DoS): Overwriting critical data causes the device to crash and reboot.
  • Arbitrary Code Execution: By carefully controlling the overflow, an attacker can redirect execution to shellcode, gaining full control of the camera (e.g., to exfiltrate video feeds, pivot to internal networks, or install persistent malware).

Vulnerable vs. Patched Code

Since no patch is available, a hypothetical vulnerable code snippet and its patched version are provided for illustration.

Vulnerable Code (C pseudocode):

void handle_pptp_control_message(char *packet) {
    char hostname[64];
    // Extract hostname from packet without length check
    sscanf(packet, "HOSTNAME=%s", hostname);
    // Process hostname...
}

Patched Code (C pseudocode):

void handle_pptp_control_message(char *packet, size_t packet_len) {
    char hostname[64];
    // Use safe function with length limit
    if (sscanf(packet, "HOSTNAME=%63s", hostname) == 1) {
        // Process hostname...
    } else {
        // Handle error
    }
}

Exploitation & Lab Setup

Red Team (Offensive):

  1. Environment Setup:

    • Obtain a Mercury MIPC552W camera (firmware v1.0).
    • Connect the camera to an isolated lab network.
    • Identify the camera's IP address (e.g., via DHCP logs or ARP scan).
  2. Crafting the Exploit:

    • Since no public exploit exists, reverse engineer the PPTP server binary (extracted from firmware) to find the vulnerable function.
    • Use a fuzzer (e.g., boofuzz) to send malformed PPTP packets to TCP port 1723.
    • Once a crash is observed, analyze the crash dump to determine the offset to the return address.
    • Develop a payload that overwrites the return address with a ROP chain or shellcode address.
  3. Exploit Execution:

    • Send the crafted PPTP packet to the target camera.
    • If successful, the camera will either crash (DoS) or execute arbitrary commands (e.g., reverse shell).

Blue Team (Defensive):

  1. Detection:

    • Monitor for unusual PPTP traffic on TCP port 1723, especially oversized packets.
    • Use network intrusion detection systems (NIDS) to alert on anomalous PPTP control messages.
  2. Mitigation:

    • Isolate the camera on a separate VLAN with strict firewall rules.
    • Disable PPTP if not required.
    • Apply virtual patching via a Web Application Firewall (WAF) or IPS that can block malformed PPTP packets.
  3. Hunting:

    • Search for signs of compromise: unexpected processes, outbound connections from the camera, or modified firmware.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • PPTP packets with fields exceeding 64 bytes (e.g., hostname > 64 chars).
    • Outbound connections from the camera to unknown IP addresses on non-standard ports.
    • Repeated connection attempts to TCP port 1723 from external IPs.
  • Host IOCs:

    • Camera logs showing crashes or reboots without cause.
    • Unusual processes running on the camera (if accessible via shell).
    • Modified or corrupted firmware files.
  • File IOCs:

    • Firmware binary with altered checksums.
    • Presence of shellcode or exploit artifacts in memory dumps.

Detection Engineering

YARA Rule:

rule CVE_2025_25526_PPTP_Overflow {
    meta:
        description = "Detects PPTP packets with oversized fields targeting Mercury MIPC552W"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-25526"
    strings:
        $pptp_magic = { 00 01 00 01 }  // PPTP Start-Control-Connection-Request
        $long_hostname = /HOSTNAME=[A-Za-z0-9]{65,}/  // Hostname > 64 chars
    condition:
        $pptp_magic and $long_hostname
}

Sigma Rule:

title: CVE-2025-25526 PPTP Buffer Overflow Attempt
id: 8f4a3b2c-1d5e-6f7a-8b9c-0d1e2f3a4b5c
status: experimental
description: Detects oversized PPTP control messages targeting Mercury MIPC552W cameras
author: Valters IT
date: 2025-04-10
logsource:
    category: network_connection
    product: suricata
detection:
    selection:
        dest_port: 1723
        payload_length: '> 1500'  # Normal PPTP packets are smaller
    condition: selection
falsepositives:
    - Legitimate large PPTP packets (rare)
level: high

Suricata Rule:

alert tcp any any -> any 1723 (msg:"CVE-2025-25526 - Mercury MIPC552W PPTP Buffer Overflow Attempt"; flow:to_server; content:"|00 01 00 01|"; depth:4; content:"HOSTNAME"; distance:0; within:100; byte_test:1,>,64,0; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable PPTP: If PPTP VPN functionality is not required, disable the service on the camera via its web interface or firmware configuration.
  2. Network Segmentation: Place the camera on a dedicated VLAN with strict access controls. Block inbound traffic to TCP port 1723 from untrusted networks.
  3. Firmware Update: Monitor Mercury's official website for a patched firmware version. Apply it as soon as it becomes available.

Long-Term Measures:

  1. Vendor Communication: Contact Mercury support to request a security patch and timeline.
  2. Replace Device: If no patch is released, consider replacing the camera with a model from a vendor with a better security track record.
  3. Virtual Patching: Deploy an IPS/IDS rule (e.g., the Suricata rule above) to block exploit attempts until a firmware fix is applied.

Workarounds:

  • Use a VPN gateway to terminate PPTP connections externally, rather than exposing the camera directly.
  • Implement network-based anomaly detection to identify abnormal PPTP traffic.

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

Mercury MIPC552W
MIPC552W
Mercury camera PPTP

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-25526/ · 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.