CVE-2022-34914 Command injection in n/a

Critical 9.8 Published Updated

Attackers can inject arbitrary arguments into session startup via manipulated X-Forwarded-For headers if the clientIp variable is used in configuration.

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-2022-34914?

CVE-2022-34914 is a critical command injection vulnerability in n/a, published on 8 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Webswing before 22.1.3 allows X-Forwarded-For header injection. The client IP address is associated with a variable in the configuration page. The {clientIp} variable can be used as an application startup argument. The X-Forwarded-For header can be manipulated by a client to store an arbitrary value that is used to replace the clientIp variable (without sanitization). A client can thus inject multiple arguments into the session startup. Systems that do not use the clientIP variable in the configuration are not vulnerable. The vulnerability is fixed in these versions: 20.1.16, 20.2.19, 21.1.8, 21.2.12, and 22.1.3.

Weakness: CWE-74

Which versions are affected by CVE-2022-34914?

It affects 1 product.

Products include Webswing Webswing.

How do I fix CVE-2022-34914?

No fix has been published for CVE-2022-34914 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-34914 being exploited?

There is no known exploitation of CVE-2022-34914 in the wild and no public exploit code.

Sources

Also known as GHSA-38x3-v328-497c.

Is CVE-2022-34914 in your software?

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

Check your SBOMs for free