CVE-2018-4842 Cross-site scripting in SCALANCE X-200IRT switch family (incl. SIPLUS NET variants)

Medium 4.8 Published Updated

Authenticated attackers can inject malicious scripts into the switch's web interface when HRP redundancy is enabled, leading to XSS attacks against visiting users.

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

What is CVE-2018-4842?

CVE-2018-4842 is a medium-severity cross-site scripting vulnerability in Siemens SCALANCE X-200IRT switch family (incl. SIPLUS NET variants), published on 14 Jun 2018. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

A vulnerability has been identified in SCALANCE X-200IRT switch family (incl. SIPLUS NET variants) (All versions < V5.4.1), SCALANCE X-200RNA switch family (All versions < V3.2.7), SCALANCE X-300 switch family (incl. X408 and SIPLUS NET variants) (All versions < V4.1.3). A remote, authenticated attacker with access to the configuration web server could be able to store script code on the web site, if the HRP redundancy option is set. This code could be executed in the web browser of victims visiting this web site (XSS), affecting its confidentiality, integrity and availability. User interaction is required for successful exploitation, as the user needs to visit the manipulated web site. At the stage of publishing this security advisory no public exploitation is known. The vendor has confirmed the vulnerability and provides mitigations to resolve it.

Weakness: CWE-79

Which versions are affected by CVE-2018-4842?

It affects 3 products.

Products include Siemens Scalance X200 Firmware, Siemens Scalance X200irt Firmware, Siemens Scalance X300 Firmware.

How do I fix CVE-2018-4842?

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

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

Sources

Also known as GHSA-89f2-v4jr-22cm.

Is CVE-2018-4842 in your software?

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

Check your SBOMs for free