CVE-2017-12646 Liferay Portal XSS Vulnerability

Medium 6.1 Published Updated

Cross-site scripting in Liferay Portal allows attackers to inject scripts via login credentials, potentially leading to session hijacking or code execution.

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-12646?

CVE-2017-12646 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 7 Aug 2017. 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

XSS exists in Liferay Portal before 7.0 CE GA4 via a login name, password, or e-mail address.

Weakness: CWE-79

Which versions are affected by CVE-2017-12646?

6 open source packages ship an affected version, including com.liferay.portal:release.portal.bom, com.liferay:com.liferay.login.authentication.openid.connect.web and com.liferay:com.liferay.login.web. It affects 1 product.

PackageAffectedFixed in
com.liferay.portal:release.portal.bom MavenAll versions7.0.3-GA4
com.liferay.portal:release.portal.bom MavenAll versions7.0.3-GA4
com.liferay:com.liferay.login.authentication.openid.connect.web MavenFrom 1.0.01.0.1
com.liferay:com.liferay.login.authentication.openid.connect.web MavenFrom 1.0.01.0.1
com.liferay:com.liferay.login.web MavenAll versions1.1.20
com.liferay:com.liferay.login.web MavenAll versions1.1.20

Products include Liferay Liferay Portal.

How do I fix CVE-2017-12646?

Upgrade com.liferay.portal:release.portal.bom to 7.0.3-GA4 or later.

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-12646 being exploited?

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

All Liferay Liferay Portal vulnerabilities

Sources

Also known as GHSA-8gqf-26xw-x3gx.

Is CVE-2017-12646 in your software?

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

Check your SBOMs for free