CVE-2018-25318 Tenda FH303/A300 V5.07.68_EN Cookie Session Weakness DNS Change

Critical 9.3 Published Updated

Unauthenticated attackers can bypass authentication via weak cookie validation to modify DNS settings on Tenda 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-25318?

CVE-2018-25318 is a critical authentication bypass vulnerability in Tenda FH303/A300, 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 FH303/A300 firmware V5.07.68_EN contains a session weakness vulnerability that allows unauthenticated attackers to modify DNS settings by exploiting insufficient cookie validation. Attackers can send GET requests to the /goform/AdvSetDns endpoint with a crafted admin cookie to change DNS servers and redirect user traffic to malicious sites.

Weakness: CWE-290

Which versions are affected by CVE-2018-25318?

It affects 2 products.

Products include Tenda A300 Firmware, Tenda Fh303 Firmware.

How do I fix CVE-2018-25318?

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

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

Sources

Also known as GHSA-j5r6-25m9-65r7.

Is CVE-2018-25318 in your software?

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

Check your SBOMs for free