id: ldap-account-manager-panel

info:
  name: LDAP Account Manager Login Panel - Detect
  author: DhiyaneshDk
  severity: info
  description: |
    LDAP Account Manager login panel was detected.
  reference:
    - https://www.ldap-account-manager.org/lamcms/
  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:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    shodan-query: title:"LDAP Account Manager"
    product: ldap_account_manager
    vendor: ldap-account-manager
  tags: panel,ldap,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/templates/login.php"
      - "{{BaseURL}}/lam/templates/login.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "LDAP Account Manager"
          - "LAM configuration"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402204259f1562b9eb28ddd424014778d0f453428a55ab6a9cffab72f9677c3eb7d5402204085876771994de030c6dcee603976569078d59963c4a26ffcaa53eb86813fb3:922c64590222798bb761d5b6d8e72950