CVE-2022-37109

patrickfuller camp up to and including commit bbd53a256ed70e79bd8758080936afbf6d738767 is vulnerable to Incorrect Access Control

Critical · published November 14, 2022

CVSS v3.1
9.8
EPSS
49%
Percentile
98.9
In the wild
Unconfirmed
What it is

🚨 An incorrect access control flaw lets anyone waltz right into the password.txt file! This vulnerability in the patrickfuller camp is absolutely devastating. 🔥 Imagine a café where the secret recipe is just sitting on the counter, unguarded, with no one checking who's peeking over the edge. This vulnerability allows anyone to swipe that recipe and whip up unauthorized brews! An attacker could generate their own authentication cookie using the password hash as the cookie secret, gaining full access to the application without ever cracking the password hash. This means they could potentially read confidential data, compromise user accounts, and wreak havoc on the system!

Put simply

Imagine a café where the secret recipe is just sitting on the counter, unguarded, with no one checking who's peeking over the edge. This vulnerability allows anyone to swipe that recipe and whip up unauthorized brews! The vulnerability lies in incorrect access control for the password.txt file, allowing unauthorized access. Additionally, the use of the password hash as a cookie secret lets attackers create valid authentication cookies, bypassing the authentication process.

What to do

An attacker could generate their own authentication cookie using the password hash as the cookie secret, gaining full access to the application without ever cracking the password hash. This means they could potentially read confidential data, compromise user accounts, and wreak havoc on the system! Immediately restrict access to the password.txt file and audit your access control settings. Patch to the latest version of the application to ensure protective measures are in place. Additionally, consider changing your cookie secret to a more secure value to prevent unauthorized cookie generation. You've got this! Follow these steps and you'll be one step closer to securing your application! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.49482 · 98.9th percentile
Published
2022-11-14T00:00Z
EPSS history
Timeline
  • 14 NOV 00:00Z
    patrickfuller camp up to and including commit bbd53a256ed70e79bd8758080936afbf6d738767 is vulnerable to Incorrect Access Control
    cvelistv5