CVE-2024-38513

CRITICAL

Fiber < 2.52.5 - Session Fixation via User-Supplied Session ID

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-38513. PoCs published by Oyeonseok.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2024-38513, a session fixation vulnerability in GoFiber's session middleware. It includes a thorough explanation of the vulnerability, reproduction steps, mitigation strategies, and references to official advisories and patches.

Description

Fiber is an Express-inspired web framework written in Go A vulnerability present in versions prior to 2.52.5 is a session middleware issue in GoFiber versions 2 and above. This vulnerability allows users to supply their own session_id value, resulting in the creation of a session with that key. If a website relies on the mere presence of a session for security purposes, this can lead to significant security risks, including unauthorized access and session fixation attacks. All users utilizing GoFiber's session middleware in the affected versions are impacted. The issue has been addressed in version 2.52.5. Users are strongly encouraged to upgrade to version 2.52.5 or higher to mitigate this vulnerability. Users who are unable to upgrade immediately can apply the following workarounds to reduce the risk: Either implement additional validation to ensure session IDs are not supplied by the user and are securely generated by the server, or regularly rotate session IDs and enforce strict session expiration policies.

Exploits (1)

nomisec WRITEUP
by Oyeonseok · poc
https://github.com/Oyeonseok/GoFiber-CVE-2024-38513

This repository provides a detailed technical analysis of CVE-2024-38513, a session fixation vulnerability in GoFiber's session middleware. It includes a thorough explanation of the vulnerability, reproduction steps, mitigation strategies, and references to official advisories and patches.

Classification
Writeup 95%
Attack Type
Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: github.com/gofiber/fiber/v2 < 2.52.5
No auth needed
Prerequisites: GoFiber application using session middleware · ability to set arbitrary session_id cookies
mistral-large-3 · analyzed Jun 28, 2026 Full analysis →

Scores

CVSS v3 10.0
EPSS 0.0069
EPSS Percentile 49.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-384
Status published
Products (2)
gofiber/fiber < 2.52.5
gofiber/fiber 0 - 2.52.5 (3 CPE variants)Go
Published Jul 01, 2024
Tracked Since Feb 18, 2026