CVE-2022-40740 Realtek GPON router - Command Injection
An authenticated administrator can execute arbitrary system commands on Realtek GPON routers due to insufficient input filtering.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-40740?
CVE-2022-40740 is a high-severity command injection vulnerability in Realtek GPON router, published on 3 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Realtek GPON router has insufficient filtering for special characters. A remote attacker authenticated as an administrator can exploit this vulnerability to perform command injection attacks, to execute arbitrary system command, manipulate system or disrupt service.
Weakness: CWE-78
Which versions are affected by CVE-2022-40740?
It affects 2 products.
Products include Realtek Usdk, Realtek Xpon Software Development Kit.
How do I fix CVE-2022-40740?
No fix has been published for CVE-2022-40740 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-2022-40740 being exploited?
There is no known exploitation of CVE-2022-40740 in the wild and no public exploit code.
Sources
Also known as GHSA-h56c-fjpj-2m9w.