2020-12-26 19:20:25 +00:00
|
|
|
id: aem-groovyconsole
|
|
|
|
|
|
|
|
info:
|
2020-12-28 10:34:12 +00:00
|
|
|
name: AEM Groovy console enabled
|
2021-06-09 12:20:56 +00:00
|
|
|
author: Dheerajmadhukar
|
2020-12-26 19:20:25 +00:00
|
|
|
severity: critical
|
|
|
|
description: Groovy console is exposed, RCE is possible.
|
2021-09-08 07:28:02 +00:00
|
|
|
reference:
|
|
|
|
- https://hackerone.com/reports/672243
|
|
|
|
- https://twitter.com/XHackerx007/status/1435139576314671105
|
2021-03-12 08:57:14 +00:00
|
|
|
tags: aem
|
2020-12-28 14:39:15 +00:00
|
|
|
|
2020-12-26 19:20:25 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/groovyconsole"
|
2021-09-08 07:28:02 +00:00
|
|
|
- "{{BaseURL}}/etc/groovyconsole.html"
|
2020-12-26 19:20:25 +00:00
|
|
|
headers:
|
|
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
|
|
|
|
Accept-Language: en-US,en;q=0.9,hi;q=0.8
|
2020-12-28 14:39:15 +00:00
|
|
|
|
2021-09-08 07:28:02 +00:00
|
|
|
stop-at-first-match: true
|
2020-12-26 19:20:25 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "<title>Groovy Console</title>"
|
|
|
|
- "Run Script"
|
|
|
|
- "Groovy Web Console"
|
|
|
|
part: body
|
2020-12-28 14:39:15 +00:00
|
|
|
condition: and
|
2021-09-08 07:28:02 +00:00
|
|
|
|
2020-12-26 19:20:25 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2020-12-28 14:39:15 +00:00
|
|
|
- 200
|