CVE-2025-54399

8.8 HIGH

📋 TL;DR

Multiple stack-based buffer overflow vulnerabilities in Planet WGR-500 routers allow remote code execution via specially crafted HTTP requests. Attackers can exploit the formPingCmd functionality by manipulating the ipaddr parameter to execute arbitrary commands. This affects Planet WGR-500 routers running vulnerable firmware.

💻 Affected Systems

Products:
  • Planet WGR-500
Versions: v1.3411b190912
Operating Systems: Embedded Linux firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the web management interface of the router. The vulnerability is in the ping command functionality accessible via HTTP requests.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full system compromise leading to complete router takeover, network traffic interception, lateral movement to connected devices, and persistent backdoor installation.

🟠

Likely Case

Remote code execution with router administrative privileges, enabling network reconnaissance, traffic manipulation, and denial of service attacks.

🟢

If Mitigated

Limited impact with proper network segmentation and firewall rules preventing external access to router management interface.

🌐 Internet-Facing: HIGH - Router management interfaces exposed to internet are directly exploitable without authentication.
🏢 Internal Only: HIGH - Even internally accessible routers can be exploited by attackers who gain network access.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

The vulnerability requires sending crafted HTTP requests to the router's web interface. No authentication is required, making exploitation straightforward for attackers with network access.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Not available

Restart Required: Yes

Instructions:

1. Check Planet website for firmware updates. 2. Download latest firmware. 3. Access router web interface. 4. Navigate to firmware update section. 5. Upload and apply new firmware. 6. Reboot router.

🔧 Temporary Workarounds

Disable web management interface

linux

Disable HTTP/HTTPS management access to prevent exploitation

Access router CLI via SSH/Telnet
Disable web interface service

Network segmentation

all

Isolate router management interface from untrusted networks

Configure firewall rules to block external access to router management ports (80, 443, 8080)

🧯 If You Can't Patch

  • Implement strict network access controls to router management interface
  • Monitor for unusual HTTP requests to router web interface

🔍 How to Verify

Check if Vulnerable:

Check router firmware version via web interface or SSH. If version is v1.3411b190912, the device is vulnerable.

Check Version:

ssh admin@router-ip 'cat /etc/version' or check web interface System Status page

Verify Fix Applied:

Verify firmware version has been updated to a version later than v1.3411b190912

📡 Detection & Monitoring

Log Indicators:

  • Unusual HTTP POST requests to formPingCmd endpoint
  • Multiple ping commands with abnormal parameters
  • Failed authentication attempts to router web interface

Network Indicators:

  • HTTP requests with long ipaddr parameters
  • Traffic to router management ports from unexpected sources
  • Unusual outbound connections from router

SIEM Query:

source="router-logs" AND (url="*formPingCmd*" AND (param="*ipaddr*" AND length>100))

🔗 References

📤 Share & Export