nuclei-templates/http/exposed-panels/liferay-portal.yaml

54 lines
1.4 KiB
YAML

id: liferay-portal
info:
name: Liferay Login Panel - Detect
author: organiccrap,dwisiswant0,ricardomaia
severity: info
description: Liferay login panel was detected,
reference:
- https://www.liferay.com/
- https://github.com/mzer0one/CVE-2020-7961-POC
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
metadata:
vendor: liferay
product: liferay_portal
verified: true
max-request: 3
shodan-query: http.favicon.hash:129457226
tags: panel,liferay,portal
http:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/api/jsonws"
- "{{BaseURL}}/api/jsonws/invoke"
matchers-condition: or
stop-at-first-match: true
matchers:
- type: word
part: header
words:
- "Liferay-Portal"
case-insensitive: true
- type: word
part: body
words:
- <title>json-web-services-api</title>
- There are no services matching that phrase.
- Unable to deserialize object
condition: or
extractors:
- type: regex
part: header
name: version
group: 2
regex:
- '(i?)Liferay-Portal:.*?(\d+\.?.*?)\s'
# digest: 4b0a00483046022100b7e7c7f67484fb34841d0736f417b7a48434b19b0155c05c2641227d451d41f3022100fc7a05dfd6652232c681d49ca381a113b2f22fc10723fc0073482147bb3ba6f1:922c64590222798bb761d5b6d8e72950