CVE-2017-2661 Cross-site scripting in pcs

Medium 6.1 Published Updated

Cross-site scripting in ClusterLabs pcs allows attackers to inject scripts via cluster node names, potentially compromising user 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
Available

What is CVE-2017-2661?

CVE-2017-2661 is a medium-severity cross-site scripting vulnerability in ClusterLabs pcs, published on 12 Mar 2018. 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

ClusterLabs pcs before version 0.9.157 is vulnerable to a cross-site scripting vulnerability due to improper validation of Node name field when creating new cluster or adding existing cluster.

Weakness: CWE-79

Which versions are affected by CVE-2017-2661?

It affects 1 product.

Products include Clusterlabs Pcs.

How do I fix CVE-2017-2661?

Upgrade to a fixed version.

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-2017-2661 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-2661, GHSA-qc8r-mjjf-5j6v, UBUNTU-CVE-2017-2661.

Is CVE-2017-2661 in your software?

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

Check your SBOMs for free