CVE-2025-60674
MediumCVSS 6.8Exploitation Probability (EPSS)
Low risk41th percentile - higher than 41% of all known CVEs
Summary
A stack buffer overflow vulnerability exists in the D-Link DIR-878A1 router firmware FW101B04.bin in the USB storage handling module. The issue occurs when the "Serial Number" field from a USB device is read via sscanf into a 64-byte stack buffer, while fgets reads up to 127 bytes, causing a stack overflow.
Risk Assessment
An attacker with physical access or control over a connected USB device can exploit this vulnerability to potentially execute arbitrary code on the device, which could lead to full compromise of the router.
Recommendation
Immediately update the D-Link DIR-878A1 router firmware to the latest available version if a patch has been released. In the meantime, restrict physical access to the device and avoid connecting untrusted USB devices.
Other vulnerabilities in D-Link DIR-878A1
See all- CVE-2025-60676Medium
An unauthenticated command injection vulnerability exists in the D-Link DIR-878A1 router firmware FW101B04.bin. The vulnerability occurs in the 'SetNetworkSettings' functionality of prog.cgi, where the 'IPAddress' and 'SubnetMask' parameters are directly concatenated into shell commands executed via system().
- CVE-2025-60673Medium
An unauthenticated command injection vulnerability exists in the D-Link DIR-878A1 router firmware FW101B04.bin. The vulnerability occurs in the 'SetDMZSettings' functionality, where the 'IPAddress' parameter in prog.cgi is stored in NVRAM and later used by librcm.so to construct iptables commands executed via twsystem(). An attacker can exploit this vulnerability remotely without authentication by sending a specially crafted HTTP request, leading to arbitrary command execution on the device.
- CVE-2025-60672Medium
An unauthenticated command injection vulnerability exists in the D-Link DIR-878A1 router firmware FW101B04.bin. The issue is in the 'SetDynamicDNSSettings' functionality, where 'ServerAddress' and 'Hostname' parameters are stored in NVRAM and later used to construct system commands executed via twsystem(). An attacker can exploit this remotely without authentication by sending a crafted HTTP request, leading to arbitrary command execution on the device.
Original NVD description (English source)
A stack buffer overflow vulnerability exists in the D-Link DIR-878A1 router firmware FW101B04.bin in the rc binary's USB storage handling module. The vulnerability occurs when the "Serial Number" field from a USB device is read via sscanf into a 64-byte stack buffer, while fgets reads up to 127 bytes, causing a stack overflow. An attacker with physical access or control over a USB device can exploit this vulnerability to potentially execute arbitrary code on the device.

