CVE-2018-25317 Tenda W3002R/A302/W309R V5.07.64_en Cookie Session Weakness DNS Change

Critical 9.3 Published Updated

Unauthenticated attackers can bypass session validation to modify DNS settings on Tenda routers, redirecting user traffic to malicious servers.

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-25317?

CVE-2018-25317 is a critical authentication bypass vulnerability in Tenda A302, 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 W3002R/A302/W309R wireless routers version V5.07.64_en contain 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 primary and secondary DNS servers, redirecting user traffic to malicious DNS servers.

Weakness: CWE-290

Which versions are affected by CVE-2018-25317?

It affects 3 products.

Products include Tenda A302 Firmware, Tenda W3002r Firmware, Tenda W309r Firmware.

How do I fix CVE-2018-25317?

No fix has been published for CVE-2018-25317 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-25317 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25317 exists.

Sources

Also known as GHSA-83gr-gjxh-xvrx.

Is CVE-2018-25317 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free