CVE-2023-41338
CVSS 3.1 Score 5.3 of 10 (medium)
Details
Summary
CVE-2023-41338 is a vulnerability affecting the Fiber web framework, built in the Go language, prior to version 2.49.2. The issue lies in inadequate access control to localhost requests. This weakness can be exploited by setting the `X-Forwarded-For` header to `127.0.0.1` from a remote host, making the request appear as if it originated locally. Consequently, unauthorized access to resources meant for localhost usage could be gained. Users relying on the `ctx.IsFromLocal` method to secure their applications are at risk. A patch is available in commit `b8c9ede6` of version 2.49.2. Upgrading to this version is advised to mitigate the vulnerability, as no known workarounds exist.
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.
Affected Products
- Gofiber Fiber
Affected Vendors
- GoFIBER
Advisories, Assessments, and Mitigations
Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future
- Gain complete coverage of your cyber, third party, and physical attack surface
- Proactively mitigate threats before they turn into costly attacks
- Make fast, effective, data-driven decisions