CVE-2022-31774 Cross-site scripting in DataPower Gateway
Attackers can inject JavaScript into the Web UI to steal credentials from trusted sessions in IBM DataPower Gateway.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-31774?
CVE-2022-31774 is a medium-severity cross-site scripting vulnerability in Ibm Datapower Gateway, published on 31 Jul 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
IBM DataPower Gateway 10.0.2.0 through 10.0.4.0, 10.0.1.0 through 10.0.1.8, 10.5.0.0, and 2018.4.1.0 through 2018.4.1.21 is vulnerable to cross-site scripting. This vulnerability allows users to embed arbitrary JavaScript code in the Web UI thus altering the intended functionality potentially leading to credentials disclosure within a trusted session. IBM X-Force ID: 228358.
Weakness: CWE-79
Which versions are affected by CVE-2022-31774?
It affects 1 product.
Products include Ibm Datapower Gateway.
How do I fix CVE-2022-31774?
No fix has been published for CVE-2022-31774 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-2022-31774 being exploited?
There is no known exploitation of CVE-2022-31774 in the wild and no public exploit code.
Other vulnerabilities in Ibm Datapower Gateway
Sources
Also known as GHSA-v34q-9q6p-pvx6.