CVE-2021-38944 Cross-site scripting in DataPower Gateway

Medium 4.8 Published Updated

An attacker can inject HTTP headers to perform cross-site scripting, cache poisoning, or session hijacking on IBM DataPower Gateway.

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-2021-38944?

CVE-2021-38944 is a medium-severity cross-site scripting vulnerability in Ibm Datapower Gateway, published on 18 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

IBM DataPower Gateway 10.0.2.0 through 1.0.3.0, 10.0.1.0 through 10.0.1.5, and 2018.4.1.0 through 2018.4.1.18 is vulnerable to HTTP header injection, caused by improper validation of input by the HOST headers. This could allow an attacker to conduct various attacks against the vulnerable system, including cross-site scripting, cache poisoning or session hijacking. IBM X-Force ID: 211236.

Weakness: CWE-79

Which versions are affected by CVE-2021-38944?

It affects 1 product.

Products include Ibm Datapower Gateway.

How do I fix CVE-2021-38944?

No fix has been published for CVE-2021-38944 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-38944 being exploited?

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

All Ibm Datapower Gateway vulnerabilities

Sources

Also known as GHSA-wcj9-hxh3-xw55.

Is CVE-2021-38944 in your software?

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

Check your SBOMs for free