CVE-2019-4040 Cross-site scripting in i

Medium 6.1 Published Updated

An attacker can inject JavaScript into the IBM i Web UI to steal credentials from trusted sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2019-4040?

CVE-2019-4040 is a medium-severity cross-site scripting vulnerability in Ibm I, published on 31 Jan 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

IBM I 7.2 and 7.3 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: 156164.

Weakness: CWE-79

Which versions are affected by CVE-2019-4040?

It affects 1 product.

Products include Ibm I.

How do I fix CVE-2019-4040?

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

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

All Ibm I vulnerabilities

Sources

Also known as GHSA-j5cf-mgq3-96p5.

Is CVE-2019-4040 in your software?

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

Check your SBOMs for free