CVE-2024-57222

6.3 MEDIUM

📋 TL;DR

This CVE describes a command injection vulnerability in Linksys E7350 routers where an attacker can execute arbitrary commands via the ifname parameter in the apcli_cancel_wps function. This affects Linksys E7350 router users running vulnerable firmware. Successful exploitation could lead to complete router compromise.

💻 Affected Systems

Products:
  • Linksys E7350
Versions: 1.1.00.032
Operating Systems: Embedded Linux firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the specific firmware version; other versions may also be vulnerable but unconfirmed.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full router compromise allowing attacker to intercept all network traffic, modify router settings, install persistent malware, and pivot to internal network devices.

🟠

Likely Case

Router takeover enabling network traffic monitoring, DNS hijacking, and credential theft from connected devices.

🟢

If Mitigated

Limited impact if router is behind firewall with restricted administrative access and network segmentation.

🌐 Internet-Facing: HIGH - Routers are typically internet-facing devices, and this vulnerability can be exploited remotely if administrative interface is exposed.
🏢 Internal Only: MEDIUM - Internal attackers could exploit this if they gain access to the local network or administrative interface.

🎯 Exploit Status

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

Exploit requires access to router's administrative interface; command injection is straightforward once access is obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Not available

Restart Required: Yes

Instructions:

1. Check Linksys support site for firmware updates. 2. If update available, download and install via router web interface. 3. Reboot router after update.

🔧 Temporary Workarounds

Restrict Administrative Access

all

Limit router administrative interface access to trusted IP addresses only

Disable WPS

all

Disable Wi-Fi Protected Setup feature if not needed

🧯 If You Can't Patch

  • Isolate router on separate network segment with strict firewall rules
  • Implement network monitoring for unusual router administrative access patterns

🔍 How to Verify

Check if Vulnerable:

Check router firmware version via web interface: Settings > Administration > Firmware Update

Check Version:

Not applicable - check via web interface

Verify Fix Applied:

Verify firmware version is newer than 1.1.00.032

📡 Detection & Monitoring

Log Indicators:

  • Unusual administrative login attempts
  • Suspicious commands in router logs
  • Unexpected configuration changes

Network Indicators:

  • Unusual outbound connections from router
  • DNS queries to malicious domains from router

SIEM Query:

source="router_logs" AND ("apcli_cancel_wps" OR "ifname" AND shell_metacharacters)

🔗 References

📤 Share & Export