id: CVE-2025-53118

info:
  name: Securden Unified PAM - Authentication Bypass
  author: DhiyaneshDk,pussycat0x,iamnoooob,pdresearch
  severity: critical
  description: |
    An authentication bypass vulnerability exists which allows an unauthenticated attacker to control administrator backup functions, leading to compromise of passwords, secrets, and application session tokens stored by the Unified PAM.
  impact: |
    Unauthenticated attackers can control administrator backup functions to compromise passwords, secrets, and application session tokens stored in Unified PAM.
  remediation: |
    Upgrade Securden Unified PAM to the latest version that implements proper authentication checks on backup functions.
  reference:
    - https://www.rapid7.com/blog/post/securden-unified-pam-multiple-critical-vulnerabilities-fixed/
    - https://nvd.nist.gov/vuln/detail/CVE-2025-53118
  metadata:
    verified: true
    max-request: 3
    fofa-query: (icon_hash="1798893256" || icon_hash="-766529773")
  tags: cve,cve2025,securden,pam,auth-bypass,vuln,vkev

flow: http(1) & http(2) & http(3)

http:
  - raw:
      - |
        GET /thirdparty-access HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - status_code == 302
        internal: true

  - raw:
      - |
        GET /get_csrf_token HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - status_code == 200
          - contains(body, 'token')
          - contains(content_type, 'application/json')
        condition: and
        internal: true

  - raw:
      - |
        GET /get_date_picker_format HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - status_code == 200
          - contains(body, 'current_date')
          - contains(content_type, 'application/json')
        condition: and
# digest: 4a0a00473045022100b0887a61d2b767aad87d01cc5f8e414cd1119ca508024e3f321f724e1e5af0fa02204e160ee9ae1eb2cd52ff42b5a5f4f6fde6e0e2193277e940bffd8647b94fd6f6:922c64590222798bb761d5b6d8e72950