nuclei-templates/http/misconfiguration/liferay/liferay-jsonws.yaml

38 lines
1.1 KiB
YAML

id: liferay-jsonws
info:
name: Liferay /api/jsonws - API Exposed
author: DhiyaneshDk
severity: low
reference:
- https://github.com/ilmila/J2EEScan/blob/master/src/main/java/burp/j2ee/issues/impl/LiferayAPI.java
- https://liferay.dev/blogs/-/blogs/securing-the-api-jsonws-ui?_com_liferay_blogs_web_portlet_BlogsPortlet_showFlags=true&scroll=_com_liferay_blogs_web_portlet_BlogsPortlet_discussionContainer
metadata:
verified: true
max-request: 1
shodan-query: title:"Liferay"
tags: liferay,exposure,api,misconfig
http:
- method: GET
path:
- "{{BaseURL}}/api/jsonws"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- ".*<title>json-web-services-api<\\/title>.*"
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a00473045022100f7a6eb363f533e60ac72e6468d631bfca610a2df866d7df3bba4f8dfe81eb00402205a6505829dcf2fb94b0c21fd6421228ae4cc730f676abc8122e45364e8067e9f:922c64590222798bb761d5b6d8e72950