CVE-2022-38867 rttys SQL Injection vulnerability
Attackers can execute arbitrary code via SQL injection in rttys, a remote terminal server.
- 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-2022-38867?
CVE-2022-38867 is a high-severity SQL injection vulnerability in n/a, published on 15 Feb 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
SQL Injection vulnerability in rttys versions 4.0.0, 4.0.1, 4.0.2, and 4.4.x in api.go, allows attackers to execute arbitrary code.
Weakness: CWE-89
Which versions are affected by CVE-2022-38867?
2 open source packages ship an affected version, including github.com/zhaojh329/rttys. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/zhaojh329/rttys Go | From 4.0.0 to 4.0.2 | None |
github.com/zhaojh329/rttys Go | From 4.0.0 to 4.0.2 | None |
Products include Rttys Project Rttys.
How do I fix CVE-2022-38867?
No fix has been published for CVE-2022-38867 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-38867 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-38867 exists.
Sources
Also known as GHSA-54q4-74p3-mgcw.