cve/2024/CVE-2024-32980.md

18 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-32980](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32980)
![](https://img.shields.io/static/v1?label=Product&message=spin&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%202.4.3%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-610%3A%20Externally%20Controlled%20Reference%20to%20a%20Resource%20in%20Another%20Sphere&color=brighgreen)
### Description
Spin is the developer tool for building and running serverless applications powered by WebAssembly. Prior to 2.4.3, some specifically configured Spin applications that use `self` requests without a specified URL authority can be induced to make requests to arbitrary hosts via the `Host` HTTP header. The following conditions need to be met for an application to be vulnerable: 1. The environment Spin is deployed in routes requests to the Spin runtime based on the request URL instead of the `Host` header, and leaves the `Host` header set to its original value; 2. The Spin application's component handling the incoming request is configured with an `allow_outbound_hosts` list containing `"self"`; and 3. In reaction to an incoming request, the component makes an outbound request whose URL doesn't include the hostname/port. Spin 2.4.3 has been released to fix this issue.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds