2020-07-02 13:53:41 +00:00
|
|
|
id: liferay-portal-detect
|
|
|
|
info:
|
|
|
|
name: Liferay Portal Detection
|
2021-06-09 12:20:56 +00:00
|
|
|
author: organiccrap,dwisiswant0
|
2020-09-20 12:57:43 +00:00
|
|
|
severity: info
|
2021-08-19 13:15:35 +00:00
|
|
|
reference: https://github.com/mzer0one/CVE-2020-7961-POC # CVE-2020-7961: Liferay Portal Unauthenticated RCE
|
|
|
|
|
2020-07-02 13:53:41 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/api/jsonws'
|
2020-07-03 17:53:46 +00:00
|
|
|
- '{{BaseURL}}/api/jsonws/invoke'
|
2020-07-02 13:53:41 +00:00
|
|
|
headers:
|
|
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- <title>json-web-services-api</title>
|
|
|
|
- There are no services matching that phrase.
|
2020-07-03 17:53:46 +00:00
|
|
|
- Unable to deserialize object
|
2020-07-02 13:53:41 +00:00
|
|
|
condition: or
|
|
|
|
part: body
|