nuclei-templates/misconfiguration/aem/aem-userinfo-servlet.yaml

32 lines
721 B
YAML
Raw Normal View History

2021-04-13 08:50:14 +00:00
id: aem-userinfo-servlet
info:
author: DhiyaneshDk
name: AEM UserInfo Servlet
2021-04-13 20:31:02 +00:00
severity: info
description: UserInfoServlet is exposed which allows an attacker to bruteforce credentials. You can get valid usernames from jcr:createdBy, jcr:lastModifiedBy, cq:LastModifiedBy attributes of any JCR node.
2021-04-13 08:50:14 +00:00
tags: aem
requests:
- method: GET
path:
- '{{BaseURL}}/libs/cq/security/userinfo.json'
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
2021-06-10 15:48:38 +00:00
part: body
2021-04-13 08:50:14 +00:00
words:
2021-06-10 15:48:38 +00:00
- '"userID":'
- '"userName":'
2021-04-13 08:50:14 +00:00
condition: and
2021-06-10 15:48:38 +00:00
- type: word
part: header
words:
- 'application/json'