id: aem-sling-login

info:
  name: Adobe Experience Manager Sling User Login - Detect
  author: dhiyaneshDk
  severity: info
  description: Adobe Experience Manager Sling user login panel was detected.
  reference:
    - https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/aem2.txt
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:adobe:experience_manager:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: adobe
    product: experience_manager
    shodan-query:
      - http.title:"AEM Sign In"
      - http.component:"Adobe Experience Manager"
      - http.component:"adobe experience manager"
      - http.title:"aem sign in"
      - cpe:"cpe:2.3:a:adobe:experience_manager"
    fofa-query: title="aem sign in"
    google-query: intitle:"aem sign in"
  tags: panel,aem,adobe,sling,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/system/sling/cqform/defaultlogin.html"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Login</title>'
          - 'j_username'
          - 'j_password'
        condition: and

      - type: word
        part: header
        words:
          - text/html

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