CVE-2023-45239 Command injection in tac plus
Attackers can inject shell commands via controlled username or address fields in tac_plus when pre/post auth commands are enabled, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-45239?
CVE-2023-45239 is a critical command injection vulnerability in Fedoraproject Fedora, published on 6 Oct 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A lack of input validation exists in tac_plus prior to commit 4fdf178 which, when pre or post auth commands are enabled, allows an attacker who can control the username, rem-addr, or NAC address sent to tac_plus to inject shell commands and gain remote code execution on the tac_plus server.
Weakness: CWE-790
Which versions are affected by CVE-2023-45239?
It affects 2 products.
Products include Facebook Tac Plus, Fedoraproject Fedora.
How do I fix CVE-2023-45239?
No fix has been published for CVE-2023-45239 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-45239 being exploited?
There is no known exploitation of CVE-2023-45239 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-p334-5r3g-4vx3.