Command Injection Vulnerability in TP-LINK TL-WR840N Router
CVE-2022-25060

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

Key Information:

Vendor

Tp-link

Vendor
CVE Published:
25 February 2022

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC๐ŸŸฃ EPSS 10%

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.

2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Tl-wr840n Firmware. 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 Tl-wr840n Firmware 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.
  • EPSS gives it a 10.1% chance of exploitation in the next 30 days.
  • Its CVSS severity is critical (9.8).

What is CVE-2022-25060?

The TP-LINK TL-WR840N router is susceptible to a command injection vulnerability through the component oal_startPing. This flaw allows an attacker to execute arbitrary commands on the affected device, potentially compromising network security. Users of the TL-WR840N(ES)_V6.20_180709 version should take immediate steps to mitigate risks associated with this vulnerability.

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

Stack-based Buffer Overflow in TP-Link Archer AX50 Router

CVE-2025-40634
Tp-linkLink Archer Ax50๐Ÿ‘พ9.2CRITICAL

Hardcoded Password Vulnerability in TP-Link Router

CVE-2024-57040
TP-LinkTL-WR845N Router๐Ÿ‘พ9.8CRITICAL

Authentication Bypass in TP-Link WR840N v6 Router

CVE-2024-57050
TP-LinkWR840N v6 Router9.8CRITICAL
View more Tp-link vulnerabilities...

EPSS Score

10% chance of being exploited in the next 30 days.

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

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.