Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-25124

9.4 · CRITICAL
Published Feb 21, 2024 gofiber CWE-346 EPSS 0.66% (49th pctl)

Overview

CVE-2024-25124 is a critical-severity vulnerability affecting gofiber fiber. It was published on February 21, 2024 and has a CVSS 3.1 base score of 9.4 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.4, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

Fiber is a web framework written in go. Prior to version 2.52.1, the CORS middleware allows for insecure configurations that could potentially expose the application 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, which goes against recommended security best practices. The impact of this misconfiguration is high as it can lead to unauthorized access to sensitive user data and expose the system to various types of attacks listed in the PortSwigger article linked in the references. Version 2.52.1 contains a patch for this issue. As a workaround, users may manually validate the CORS configurations in their implementation to ensure that they do not allow a wildcard origin when credentials are enabled. The browser fetch api, as well as browsers and utilities that enforce CORS policies, are not affected by this.

Remediation

Check the references section for vendor advisories and patches from gofiber. Update fiber to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gofiber fiber >= 0, < 2.52.1 Affected

Frequently Asked Questions

What is CVE-2024-25124?

CVE-2024-25124 is a critical-severity vulnerability affecting gofiber fiber. It was published on February 21, 2024 and has a CVSS 3.1 base score of 9.4 (CRITICAL).

How severe is CVE-2024-25124?

This vulnerability has a CVSS 3.1 base score of 9.4, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-25124?

Check the references section for vendor advisories and patches from gofiber. Update fiber to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-25124?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-25124 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.