cve/2024/CVE-2024-21510.md

19 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2025-09-29 16:08:36 +00:00
### [CVE-2024-21510](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21510)
![](https://img.shields.io/static/v1?label=Product&message=sinatra&color=blue)
2025-09-29 21:09:30 +02:00
![](https://img.shields.io/static/v1?label=Version&message=0.0.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Reliance%20on%20Untrusted%20Inputs%20in%20a%20Security%20Decision&color=brightgreen)
2025-09-29 16:08:36 +00:00
### Description
Versions of the package sinatra from 0.0.0 are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the X-Forwarded-Host (XFH) header. When making a request to a method with redirect applied, it is possible to trigger an Open Redirect Attack by inserting an arbitrary address into this header. If used for caching purposes, such as with servers like Nginx, or as a reverse proxy, without handling the X-Forwarded-Host header, attackers can potentially exploit Cache Poisoning or Routing-based SSRF.
### POC
#### Reference
- https://security.snyk.io/vuln/SNYK-RUBY-SINATRA-6483832
#### Github
- https://github.com/dasch/avro_turf
2025-09-29 21:09:30 +02:00
- https://github.com/fkie-cad/nvd-json-data-feeds
2025-09-29 16:08:36 +00:00