CVE-2021-21004 Cross-site Scripting Vulnerability in Phoenix Contact FL SWITCH SMCS series products

High 7.4 Published Updated

Attackers can inject malicious code via LLDP frames into the web management interface, allowing execution in the client's browser.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-21004?

CVE-2021-21004 is a high-severity cross-site scripting vulnerability in Phoenix Contact FL NAT, published on 25 Jun 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In Phoenix Contact FL SWITCH SMCS series products in multiple versions an attacker may insert malicious code via LLDP frames into the web-based management which could then be executed by the client.

Weakness: CWE-79

Which versions are affected by CVE-2021-21004?

It affects 15 products.

Products include Phoenixcontact Fl Nat Smn 8tx-M Firmware, Phoenixcontact Fl Nat Smn 8tx Firmware, Phoenixcontact Fl Switch Smcs 14tx\/2fx-Sm Firmware, Phoenixcontact Fl Switch Smcs 14tx\/2fx Firmware, Phoenixcontact Fl Switch Smcs 16tx Firmware, Phoenixcontact Fl Switch Smcs 4tx-Pn Firmware and 9 more.

How do I fix CVE-2021-21004?

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

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

Sources

Also known as GHSA-p92q-6vw3-958m.

Is CVE-2021-21004 in your software?

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

Check your SBOMs for free