Bug 2274400 (CVE-2024-3622) - CVE-2024-3622 mirror-registry: Plain-text default CSRF secret key
Summary: CVE-2024-3622 mirror-registry: Plain-text default CSRF secret key
Keywords:
Status: NEW
Alias: CVE-2024-3622
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2274398
TreeView+ depends on / blocked
 
Reported: 2024-04-10 20:30 UTC by Marco Benatto
Modified: 2024-04-16 20:46 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Marco Benatto 2024-04-10 20:30:12 UTC
The default CSRF SECRET_KEY in mirror-registry is stored in plain-text on the jinja's config.yaml file, leaving the possibility of every mirror-registry installation which hasn't changed it to have the same SECRET_KEY. The CSRF SECRET_KEY is used to encrypt the session cookie and the CSRF used to interpret the user sessions. A successful attack may lead to account takeover in the quay instance.


Note You need to log in before you can comment on or make changes to this bug.