CVE-2018-25316 Tenda W308R v2 V5.07.48 Cookie Session Weakness DNS Change
Unauthenticated attackers can bypass session validation to modify DNS settings on Tenda W308R routers, enabling traffic redirection.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-25316?
CVE-2018-25316 is a critical authentication bypass vulnerability in Tenda W308R v2, published on 29 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Tenda W308R v2 V5.07.48 contains a cookie session weakness vulnerability that allows unauthenticated attackers to modify DNS settings by exploiting insufficient session validation. Attackers can send GET requests to the goform/AdvSetDns endpoint with a crafted admin language cookie to change DNS servers and redirect user traffic to malicious sites.
Weakness: CWE-290
Which versions are affected by CVE-2018-25316?
It affects 1 product.
Products include Tenda W308r Firmware.
How do I fix CVE-2018-25316?
No fix has been published for CVE-2018-25316 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2018-25316 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25316 exists.
Sources
Also known as GHSA-65qg-r2jh-j3cm.