CVE-2024-3400
⚠ KEVEPSS 94.3%WITHDRAWN: Directory traversal in FilesystemStore in github.com/gorilla/sessions
Published: 4/17/2024Modified: 2/4/2026Added to CISA KEV: 4/12/2024
Description
(This report has been withdrawn on the grounds that it generates too many false positives. Session IDs are documented as not being suitable to hold user-provided data.) FilesystemStore does not sanitize the Session.ID value, making it vulnerable to directory traversal attacks. If an attacker has control over the contents of the session ID, this can be exploited to write to arbitrary files in the filesystem. Programs which do not set session IDs explicitly, or which only set session IDs that will not be interpreted by the filesystem, are not vulnerable.