CVE-2023-43138 Command injection in n/a

High 8.8 Published Updated

An authenticated attacker can execute arbitrary commands on TP-Link TL-ER5120G routers by injecting code into NAPT rule names.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-43138?

CVE-2023-43138 is a high-severity command injection vulnerability in n/a, published on 20 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

TPLINK TL-ER5120G 4.0 2.0.0 Build 210817 Rel.80868n has a command injection vulnerability, when an attacker adds NAPT rules after authentication, and the rule name has an injection point.

Weakness: CWE-77

Which versions are affected by CVE-2023-43138?

It affects 1 product.

Products include Tp-Link Tl-Er5120g Firmware.

How do I fix CVE-2023-43138?

No fix has been published for CVE-2023-43138 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-43138 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-43138 exists.

Sources

Also known as GHSA-g567-mjjp-5vw4.

Is CVE-2023-43138 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free