Authenticated command execution via NAPT rule name
Published Sep 20, 2023 · Updated Sep 25, 2024
Command injection in TP-Link TL-ER5120G 4.0 2.0.0 Build 210817 Rel.80868n allows remote authenticated users to execute commands. The NAPT rule handler fails to neutralize shell metacharacters in the attacker-controlled rule name before command execution. Access to the web management interface and valid credentials is required; successful injection executes commands with the router service's privileges.
Summary
What happened
Command injection in TP-Link TL-ER5120G 4.0 2.0.0 Build 210817 Rel.80868n allows remote authenticated users to execute commands. The NAPT rule handler fails to neutralize shell metacharacters in the attacker-controlled rule name before command execution. Access to the web management interface and valid credentials is required; successful injection executes commands with the router service's privileges.
The record
- CVE
- CVE-2023-43138
- Published
- Sep 20, 2023
- Updated
- Sep 25, 2024
- Vendor
- TP-Link
- Product
- TL-ER5120G
- Classifications
- CWE-77, T1059.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 20, 2023CVE publishedPublication date reported by the CVE source.
- Sep 25, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.0_2.0.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- 7R4C4R TL-ER5120G NAPT command-injection proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo