CVE-2020-10250

9.8 CRITICAL

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary operating system commands on BWA DiREX-Pro devices by injecting shell metacharacters into the PKG parameter of uninstall.php3. It affects BWA DiREX-Pro 1.2181 devices, potentially giving attackers full control over affected systems.

💻 Affected Systems

Products:
  • BWA DiREX-Pro
Versions: Version 1.2181
Operating Systems: Embedded/Linux-based OS on DiREX-Pro devices
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the web management interface of DiREX-Pro devices. No special configuration required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise allowing attackers to install malware, steal data, pivot to other systems, or render devices inoperable.

🟠

Likely Case

Remote code execution leading to data theft, device takeover, or use as a foothold for further network attacks.

🟢

If Mitigated

Limited impact if proper network segmentation and access controls prevent exploitation attempts.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable via web interface without authentication.
🏢 Internal Only: HIGH - Even internally, the vulnerability allows unauthenticated command execution.

🎯 Exploit Status

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

Exploitation requires sending a crafted HTTP request to uninstall.php3 with shell metacharacters in the PKG parameter. No authentication needed.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: No official vendor advisory found

Restart Required: No

Instructions:

No official patch available. Consider upgrading to newer device models or implementing workarounds.

🔧 Temporary Workarounds

Block access to uninstall.php3

all

Use web server configuration or firewall rules to block access to the vulnerable endpoint

# Apache: RewriteRule ^uninstall\.php3$ - [F]
# Nginx: location = /uninstall.php3 { deny all; }

Network segmentation

linux

Isolate DiREX-Pro devices from internet and restrict internal access

# Firewall rule example: iptables -A INPUT -s <trusted_networks> -p tcp --dport 80 -j ACCEPT
# iptables -A INPUT -p tcp --dport 80 -j DROP

🧯 If You Can't Patch

  • Implement strict network access controls to limit who can reach the device management interface
  • Monitor for exploitation attempts and implement intrusion detection rules

🔍 How to Verify

Check if Vulnerable:

Check if device responds to requests to /uninstall.php3 with PKG parameter containing test payloads

Check Version:

Check device web interface or documentation for firmware version

Verify Fix Applied:

Verify that access to uninstall.php3 is blocked or that command injection attempts fail

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests to uninstall.php3 with unusual PKG parameter values
  • Shell command execution in web server logs

Network Indicators:

  • HTTP POST requests to /uninstall.php3 containing shell metacharacters like ;, |, &, $()

SIEM Query:

source="web_logs" AND uri="/uninstall.php3" AND (param="PKG" AND value MATCHES "[;&|`$()]+")

🔗 References

📤 Share & Export