← Vulnerability feed

Vulnerability record · CVE-2018-11714 · published 4 June 2018

CVE-2018-11714: TP-Link router CGI session handling bypass allows unauthenticated actions

Tp Link · Tl Wr840n Firmware

TP-Link TL-WR840N v5 and TL-WR841N v13 routers mishandle sessions on the /cgi/ path. Sending a Referer header of http://192.168.0.1/mainFrame.htm causes the device to skip authentication for any action. This lets anyone who can reach the router's web interface issue privileged requests without logging in.

9.8 CVSS 3.0 Critical EPSS 68% · top 0.7% CWE-384 · CWE-384
9.8CVSS 3.0 base score, v2 10.0
68%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
4References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

An issue was discovered on TP-Link TL-WR840N v5 00000005 0.9.1 3.16 v0001.0 Build 170608 Rel.58696n and TL-WR841N v13 00000013 0.9.1 4.16 v0001.0 Build 170622 Rel.64334n devices. This issue is caused by improper session handling on the /cgi/ folder or a /cgi file. If an attacker sends a header of "Referer: http://192.168.0.1/mainFrame.htm" then no authentication is required for any action.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or user interaction required and public exploit code available makes this a critical exposure for the affected routers.

What it is

TP-Link TL-WR840N v5 and TL-WR841N v13 routers mishandle sessions on the /cgi/ path. Sending a Referer header of http://192.168.0.1/mainFrame.htm causes the device to skip authentication for any action. This lets anyone who can reach the router's web interface issue privileged requests without logging in.

Impact

An attacker gains full unauthenticated control of the router's CGI actions, which can include changing configuration and other administrative operations, with high confidentiality, integrity and availability impact per the CVSS vector.

Attack surface

Reachable over the network via the router's HTTP web interface on the /cgi/ path; no authentication and no user interaction are required, only the ability to send a crafted Referer header.

Exploitation

Not listed in CISA KEV, but EPSS is 0.68053 (99.29th percentile) and both references are tagged Exploit, including an Exploit-DB entry, indicating public exploit code exists.

What to do

  • Apply the latest TP-Link firmware for TL-WR840N v5 and TL-WR841N v13, or replace the devices if no fix is available.
  • Disable remote management and restrict the web interface to trusted LAN clients only.
  • Do not expose the router's HTTP management interface to the internet; place it behind a firewall or management VLAN.
  • If the device cannot be patched, replace it with a supported model that enforces session authentication.
  • Monitor router logs for unexpected CGI requests carrying a Referer of http://192.168.0.1/mainFrame.htm.

Detection

  • Inspect HTTP request logs or packet captures for /cgi/ requests with Referer: http://192.168.0.1/mainFrame.htm.
  • Alert on administrative CGI actions occurring without a prior successful login or session cookie.
  • Baseline normal router management traffic and flag requests from unexpected source IPs to the web interface.
  • Review router configuration changes for unauthorized modifications.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-11714 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2023-33538TP-Link router web interface command injection in WlanNetworkRpmTP-Link TL-WR940N V2/V4, TL-WR841N V8/V10, and TL-WR740N V1/V2 contain a command injection flaw in the /userRpm/WlanNetworkRpm component of the route…KEVEPSS 42%analysed8.6CVE-2025-9377TP-Link Archer C7 and TL-WR841N Parental Control OS Command InjectionAn OS command injection flaw (CWE-78) exists in the Parental Control page of TP-Link Archer C7(EU) V2 and TL-WR841N/ND(MS) V9 routers, allowing an au…KEVEPSS 34%analysed7.5CVE-2015-3035TP-Link router directory traversal allows unauthenticated file readA path traversal flaw in the web interface of multiple TP-Link Archer and TL-WR/WDR router models lets a remote attacker read arbitrary files by plac…KEVEPSS 84%analysed6.5CVE-2023-50224TP-Link router httpd authentication bypass exposes stored credentialsThe httpd service on affected TP-Link router firmware contains an improper authentication flaw (CWE-290) that lets a network-adjacent attacker bypass…KEVEPSS 16%analysed9.8CVE-2022-25060Tp-link tl-wr840n firmware os command injection vulnerabilityTP-LINK TL-WR840N(ES)_V6.20_180709 was discovered to contain a command injection vulnerability via the component oal_startPing.EPSS 40%9.8CVE-2022-25061TP-Link TL-WR840N router command injection in oal_setIp6DefaultRouteThe TP-Link TL-WR840N(ES) V6.20 firmware (build 180709) contains an OS command injection flaw in the oal_setIp6DefaultRoute component. Because the fl…EPSS 59%analysed9.8CVE-2022-25064Tp-link tl-wr840n firmware os command injection vulnerabilityTP-LINK TL-WR840N(ES)_V6.20_180709 was discovered to contain a remote code execution (RCE) vulnerability via the function oal_wan6_setIpAddr.EPSS 36%9.8CVE-2022-25073Tp-link tl-wr841n firmware out-of-bounds write vulnerabilityTL-WR841Nv14_US_0.9.1_4.18 routers were discovered to contain a stack overflow in the function dm_fillObjByStr(). This vulnerability allows unauthent…EPSS 13%

Source: NIST National Vulnerability Database (record CVE-2018-11714), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.