Skip to main content
← All vulnerabilities
CVE-2023-45141GHSA-MV73-F69X-444PGO-2023-2116

CSRF Token Validation Vulnerability in fiber

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.50.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

Fiber is an express inspired web framework written in Go. A Cross-Site Request Forgery (CSRF) vulnerability has been identified in the application, which allows an attacker to obtain tokens and forge malicious requests on behalf of a user. This can lead to unauthorized actions being taken on the user's behalf, potentially compromising the security and integrity of the application. The vulnerability is caused by improper validation and enforcement of CSRF tokens within the application. This vulnerability has been addressed in version 2.50.0 and users are advised to upgrade. Users should take additional security measures like captchas or Two-Factor Authentication (2FA) and set Session cookies with SameSite=Lax or SameSite=Secure, and the Secure and HttpOnly attributes.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • gofiber fiber

    fixed in 2.50.0

  • github.com/gofiber/fiber/v2Go

    fixed in 2.50.0

References 1

GitHub · gofiber/fiber