CVE-2014-125122 Linksys WRT120N tmUnblock.cgi Stack-Based Buffer Overflow Admin Password Reset
Unauthenticated attackers can exploit a stack-based buffer overflow in the Linksys WRT120N router to reset the admin password and gain unauthorized access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2014-125122?
CVE-2014-125122 is a medium-severity memory corruption vulnerability in Linksys WRT120N, published on 31 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A stack-based buffer overflow vulnerability exists in the tmUnblock.cgi endpoint of the Linksys WRT120N wireless router. The vulnerability is triggered by sending a specially crafted HTTP POST request with an overly long TM_Block_URL parameter to the endpoint. By exploiting this flaw, an unauthenticated remote attacker can overwrite memory in a controlled manner, enabling them to temporarily reset the administrator password of the device to a blank value. This grants unauthorized access to the router’s web management interface without requiring valid credentials.
Weakness: CWE-121
Which versions are affected by CVE-2014-125122?
How do I fix CVE-2014-125122?
No fix has been published for CVE-2014-125122 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2014-125122 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-125122 exists.
Public exploit code: 1 Metasploit module.
Sources
Also known as GHSA-6r87-23pq-fxxg.