CVE-2016-3670 Liferay Portal Vulnerable to XSS in Profile Search Functionality

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via the FirstName field in the Profile Search functionality, potentially leading to session hijacking or malicious actions.

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-2016-3670?

CVE-2016-3670 is a medium-severity cross-site scripting vulnerability in Liferay Liferay Portal, published on 13 Jun 2016. 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

Cross-site scripting (XSS) vulnerability in users.jsp in the Profile Search functionality in Liferay before 7.0.0 CE RC1 allows remote attackers to inject arbitrary web script or HTML via the FirstName field.

Weakness: CWE-79

Which versions are affected by CVE-2016-3670?

2 open source packages ship an affected version, including com.liferay:com.liferay.portal.search.web. It affects 1 product.

PackageAffectedFixed in
com.liferay:com.liferay.portal.search.web MavenAll versions1.0.3
com.liferay:com.liferay.portal.search.web MavenAll versions1.0.3

Products include Liferay Liferay Portal.

How do I fix CVE-2016-3670?

Upgrade com.liferay:com.liferay.portal.search.web to 1.0.3 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-2016-3670 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Liferay Liferay Portal vulnerabilities

Sources

Also known as GHSA-hq29-vqg6-pjpw.

Is CVE-2016-3670 in your software?

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

Check your SBOMs for free