id: aem-sling-userinfo

info:
  name: Adobe AEM Sling User Info Servlet Exposure
  author: DhiyaneshDk
  severity: info
  reference:
    - https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/aem2.txt
  classification:
    cpe: cpe:2.3:a:adobe:experience_manager:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: adobe
    product: experience_manager
    shodan-query:
      - http.title:"AEM Sign In"
      - http.component:"Adobe Experience Manager"
  tags: misconfig,aem,adobe,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/system/sling/info.sessionInfo.json"
      - "{{BaseURL}}/system/sling/info.sessionInfo.txt"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'userID:'

      - type: word
        part: header
        words:
          - "text/plain"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100ec43f53e6fa9fd06f116c705c68e88fd7214e6609aa732b0aa9e382777cf8855022007ff77f7a1400c79b2d07034d6b3a3cc8daf60a4216437e1e2172bc4a227353b:922c64590222798bb761d5b6d8e72950