CVE-2024-25124
CVSS 3.1 Score 9.4 of 10 (high)
Details
Summary
CVE-2024-25124 is a vulnerability affecting Fiber, a web framework written in Go, prior to version 2.52.1. This flaw lies in the CORS middleware, which permits insecure configurations that potentially expose applications to multiple CORS-related vulnerabilities. Specifically, it allows setting the Access-Control-Allow-Origin header to a wildcard (*) while also having the Access-Control-Allow-Credentials set to true, disregarding recommended security practices. The consequences of this misconfiguration are significant, as it might lead to unauthorized access to sensitive user data and expose systems to various attacks, such as Cross-Site Request Forgery (CSRF) and Cross-Site Scripting (XSS). Version 2.52.1 features a patch for this issue, and as a temporary measure, users can manually validate their CORS configurations to ensure that they do not allow a wildcard origin when credentials are enabled. It's important to note that the browser fetch API, along with browsers and utilities that enforce CORS policies, are not impacted by this vulnerability.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.