Merge pull request #5804 from ricardomaia/liferay-portal-detect

Update liferay-portal-detect.yaml
patch-1
Prince Chaddha 2022-10-25 17:57:35 +05:30 committed by GitHub
commit e532efa7c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 45 additions and 24 deletions

View File

@ -0,0 +1,45 @@
id: liferay-portal
info:
name: Liferay Portal Detect
author: organiccrap,dwisiswant0,ricardomaia
severity: info
reference:
- https://www.liferay.com/
- https://github.com/mzer0one/CVE-2020-7961-POC
metadata:
verified: true
shodan-query: http.favicon.hash:129457226
tags: panel,liferay,portal
requests:
- 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'

View File

@ -1,24 +0,0 @@
id: liferay-portal-detect
info:
name: Liferay Portal Detection
author: organiccrap,dwisiswant0
severity: info
reference:
- https://github.com/mzer0one/CVE-2020-7961-POC
tags: tech,liferay
requests:
- method: GET
path:
- '{{BaseURL}}/api/jsonws'
- '{{BaseURL}}/api/jsonws/invoke'
matchers:
- type: word
words:
- <title>json-web-services-api</title>
- There are no services matching that phrase.
- Unable to deserialize object
condition: or
part: body