Merge pull request #706 from Dheerajmadhukar/patch-4

Create aem-groovyconsole.yaml
patch-1
PD-Team 2020-12-28 20:10:44 +05:30 committed by GitHub
commit f8423a35e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
id: aem-groovyconsole
info:
name: AEM Groovy console enabled
author: twitter.com/Dheerajmadhukar
severity: critical
description: Groovy console is exposed, RCE is possible.
reference: https://hackerone.com/reports/672243
requests:
- method: GET
path:
- "{{BaseURL}}/groovyconsole"
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-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9,hi;q=0.8
User-Agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Mobile Safari/537.36
matchers-condition: and
matchers:
- type: word
words:
- "<title>Groovy Console</title>"
- "Run Script"
- "Groovy Web Console"
part: body
condition: and
- type: status
status:
- 200