Totolink NR1800X cstecgi.cgi loginAuth stack-based overflow
CVE-2023-7220

Patch nowFull system takeover over the network, no login needed.
9.8CRITICAL

Key Information:

Vendor

Totolink

Status
Vendor
CVE Published:
9 January 2024

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (1 proof-of-concept)
  • Yes: Attacked in the wild
  • No: Not on CISA's exploited list

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Nr1800x. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

It has been exploited in the wild, so check logs on exposed Nr1800x systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Patch now"
  • It is being exploited in the wild.
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.8).

What is CVE-2023-7220?

The vulnerability in the Totolink NR1800X router arises within the loginAuth function located in the /cgi-bin/cstecgi.cgi file. This issue is specifically triggered when the password argument is manipulated, causing a stack-based buffer overflow. Such a vulnerability can be exploited remotely, potentially compromising the device's integrity. The flaw has been publicly disclosed, raising significant security concerns for users of affected versions. Despite early notifications to the vendor regarding the vulnerability, there has been no response, highlighting the urgency for users to update their devices.

Affected Version(s)

NR1800X 9.1.0u.6279_B20210910

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Buffer Overflow Vulnerability in TOTOLINK N150RT Router

CVE-2025-3993
TotolinkN150rt๐Ÿ‘พ8.7HIGH

Stack-Based Buffer Overflow Vulnerability in TOTOLINK X18 Router

CVE-2025-1340
TotolinkX18๐Ÿ‘พ8.7HIGH
View more Totolink vulnerabilities...

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

jylsec (VulDB User)
.