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

35 lines
874 B
YAML
Raw Normal View History

2022-08-08 08:55:39 +00:00
id: liferay-jsonws
info:
name: Liferay /api/jsonws - API Exposed
author: DhiyaneshDk
severity: low
metadata:
verified: true
shodan-query: title:"Liferay"
2022-09-19 15:34:04 +00:00
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
2022-08-08 08:55:39 +00:00
tags: liferay,exposure,api
requests:
- method: GET
path:
- "{{BaseURL}}/api/jsonws"
matchers-condition: and
matchers:
- type: regex
2022-08-08 22:49:55 +00:00
part: body
2022-08-08 08:55:39 +00:00
regex:
- ".*<title>json-web-services-api<\\/title>.*"
- type: word
2022-08-08 22:49:55 +00:00
part: header
2022-08-08 08:55:39 +00:00
words:
- "text/html"
- type: status
status:
- 200