CVE-2022-31898 Command injection in n/a
Attackers can execute arbitrary commands on GL.iNet routers via vulnerable ping and trace parameters, requiring firmware updates.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-31898?
CVE-2022-31898 is a medium-severity command injection vulnerability in n/a, published on 27 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
gl-inet GL-MT300N-V2 Mango v3.212 and GL-AX1800 Flint v3.214 were discovered to contain multiple command injection vulnerabilities via the ping_addr and trace_addr function parameters.
Weakness: CWE-78
Which versions are affected by CVE-2022-31898?
It affects 2 products.
Products include Gl-Inet Gl-Ax1800 Firmware, Gl-Inet Gl-Mt300n-V2 Firmware.
How do I fix CVE-2022-31898?
No fix has been published for CVE-2022-31898 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-31898 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31898 exists.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7jr9-w2r4-mr83.