A command injection vulnerability was identified in TP-Link TL-WR802N v4, TL-WR841N v14, and TL-WR840N v6 due to improper neutralization of special elements used in an OS command. In the router configuration import function allows an authenticated attacker to upload a crafted configuration file that results in execution of OS commands with root privileges during port-trigger processing.
Successful exploitation allows an authenticated attacker to execute system commands with root privileges, leading to full device compromise.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 6
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Tp-Link Tl-Wr802n_Firmware
cpe:2.3:o:tp-link:tl-wr802n_firmware:*:*:*:*:*:*:*:*
|
— |
260304
|
|
Tp-Link Tl-Wr802n
cpe:2.3:h:tp-link:tl-wr802n:v4:*:*:*:*:*:*:*
|
— | — |
|
Tp-Link Tl-Wr841n_Firmware
cpe:2.3:o:tp-link:tl-wr841n_firmware:*:*:*:*:*:*:*:*
|
— |
260303
|
|
Tp-Link Tl-Wr841n
cpe:2.3:h:tp-link:tl-wr841n:14:*:*:*:*:*:*:*
|
— | — |
|
Tp-Link Tl-Wr840n_Firmware
cpe:2.3:o:tp-link:tl-wr840n_firmware:*:*:*:*:*:*:*:*
|
— |
260304
|
|
Tp-Link Tl-Wr840n
cpe:2.3:h:tp-link:tl-wr840n:6:*:*:*:*:*:*:*
|
— | — |