CVE-2022-38867 rttys SQL Injection vulnerability

High 8.8 Published Updated

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.

PackageAffectedFixed in
github.com/zhaojh329/rttys GoFrom 4.0.0 to 4.0.2None
github.com/zhaojh329/rttys GoFrom 4.0.0 to 4.0.2None

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.

Is CVE-2022-38867 in your software?

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

Check your SBOMs for free