| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| Liferay Portal 7.1 CE GA=3 / SimpleCaptcha API - Cross-Site Scripting Vulnerability | 11 Jun 201900:00 | – | zdt | |
| Liferay Portal Cross-Site Scripting Vulnerability (CNVD-2019-16545) | 4 Jun 201900:00 | – | cnvd | |
| CVE-2019-6588 | 3 Jun 201919:43 | – | cve | |
| CVE-2019-6588 | 3 Jun 201919:43 | – | cvelist | |
| EUVD-2019-16147 | 7 Oct 202500:30 | – | euvd | |
| Liferay Portal 7.1 CE GA3 SimpleCaptcha API - Cross-Site Scripting | 11 Jun 201900:00 | – | exploitpack | |
| Liferay Portal Allows Cross-Site Scripting (XSS) via the SimpleCaptcha API | 24 May 202216:47 | – | github | |
| CVE-2019-6588 | 3 Jun 201920:29 | – | nvd | |
| Liferay Portal < 7.1 GA4 Multiple Vulnerabilities | 11 Jun 201900:00 | – | openvas | |
| GHSA-HWP2-GVM5-452F Liferay Portal Allows Cross-Site Scripting (XSS) via the SimpleCaptcha API | 24 May 202216:47 | – | osv |
# Exploit Title: Liferay Portal < 7.1 CE GA4 / SimpleCaptcha API XSS
# Date: 04/06/2019
# Exploit Author: Valerio Brussani (@val_brux)
# Website: www.valbrux.it
# Vendor Homepage: https://www.liferay.com/
# Software Link: https://www.liferay.com/it/downloads-community
# Version: < 7.1 CE GA4
# Tested on: Liferay Portal 7.1 CE GA3
# CVE: CVE-2019-6588
# Reference1: https://dev.liferay.com/web/community-security-team/known-vulnerabilities/liferay-portal-71/-/asset_publisher/7v4O7y85hZMo/content/cst-7130-multiple-xss-vulnerabilities-in-7-1-ce-ga3
# Reference2: https://www.valbrux.it/blog/2019/06/04/cve-2019-6588-liferay-portal-7-1-ce-ga4-simplecaptcha-api-xss/
Introduction
In Liferay Portal before 7.1 CE GA4, an XSS vulnerability exists in the SimpleCaptcha API when custom code passes unsanitized input
into the “url” parameter of the JSP taglib call <liferay-ui:captcha url=”<%= url %>” /> or <liferay-captcha:captcha url=”<%= url %>” />.
A customized Liferay portlet which directly calls the Simple Captcha API without sanitizing the input could be susceptible to this vulnerability.
Poc
In a sample scenario of custom code calling the <liferay-ui:captcha url=”<%= url %>” /> JSP taglib, appending a payload like the following to the body parameters of a customized form:
&xxxx%22%3e%3cscript%3ealert(1)</script>
The script is reflected in the src attribute of the <img> tag, responsible of fetching the next available captcha:
<img alt=”xxx” class=”xxxx” src=”xxxxxx“><script>alert(1)</script>=” />Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation