CVE-2022-30114

7.5 HIGH

📋 TL;DR

A heap-based buffer overflow vulnerability in Fastweb FASTGate routers allows remote attackers to cause denial-of-service by rebooting the device through crafted HTTP requests. This affects FASTGate MediaAccess FGA2130FWB and DGA4131FWB devices with specific firmware versions. The vulnerability is exploitable without authentication.

💻 Affected Systems

Products:
  • Fastweb FASTGate MediaAccess FGA2130FWB
  • Fastweb FASTGate DGA4131FWB
Versions: FGA2130FWB: firmware version 18.3.n.0482_FW_230_FGA2130; DGA4131FWB: firmware versions up to 18.3.n.0462_FW_261_DGA4131
Operating Systems: Embedded router firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Affects devices with default configurations; the vulnerable HTTP service is typically enabled by default

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device reboot causing extended service disruption, potential for remote code execution if buffer overflow can be controlled to execute arbitrary code

🟠

Likely Case

Device reboot causing temporary network outage (1-2 minutes) and service disruption

🟢

If Mitigated

No impact if device is patched or network controls prevent access to vulnerable service

🌐 Internet-Facing: HIGH - The vulnerable HTTP service is typically internet-facing on these routers
🏢 Internal Only: MEDIUM - Could be exploited from internal networks if device is accessible

🎯 Exploit Status

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

Public proof-of-concept demonstrates simple HTTP request triggering the buffer overflow; exploitation requires no authentication

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check with Fastweb for latest firmware updates

Vendor Advisory: https://www.fastweb.it/myfastweb/assistenza/guide/FASTGate/

Restart Required: Yes

Instructions:

1. Log into Fastweb customer portal; 2. Check for firmware updates for your device model; 3. Download and apply the latest firmware; 4. Reboot the device after update

🔧 Temporary Workarounds

Block HTTP access to router management interface

linux

Restrict access to the router's HTTP management interface from untrusted networks

iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p tcp --dport 443 -j DROP

Disable remote management

all

Turn off remote management features in router configuration

🧯 If You Can't Patch

  • Place router behind a firewall that blocks inbound HTTP/HTTPS traffic to the device
  • Use network segmentation to isolate vulnerable devices from untrusted networks

🔍 How to Verify

Check if Vulnerable:

Check router firmware version via web interface at http://[router-ip]/ or via SSH if enabled

Check Version:

curl -s http://[router-ip]/status.html | grep -i firmware || ssh admin@[router-ip] 'cat /etc/version'

Verify Fix Applied:

Verify firmware version is newer than affected versions listed above

📡 Detection & Monitoring

Log Indicators:

  • Multiple device reboot events in router logs
  • HTTP requests with unusually long or malformed parameters to management interface

Network Indicators:

  • HTTP POST/GET requests to router IP on port 80/443 with large payloads
  • Sudden loss of connectivity followed by device reboot

SIEM Query:

source="router_logs" AND (event="reboot" OR event="crash") AND http_request_size>1000

🔗 References

📤 Share & Export