CVE-2021-45330

An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains…

published February 9, 2022

CVSS
—
EPSS
1%
Percentile
73.1
In the wild
Unconfirmed
What it is

⚠️ A lingering session cookie could turn a harmless user into a privilege-grabbing menace! If you're running Gitea version 1.15.7 or lower, it's time to take note! 🔥 Think of it like leaving a party without taking your coat, only for someone else to find it and walk right back in—your session stays valid even after you think you've left! If a malicious user finds that residual session cookie, they could gain unauthorized access to accounts and perform actions they shouldn't be able to, potentially compromising sensitive data and access rights. This makes it a surprisingly sneaky way to escalate privileges!

Put simply

Think of it like leaving a party without taking your coat, only for someone else to find it and walk right back in—your session stays valid even after you think you've left! This vulnerability stems from Gitea not properly deleting client-side cookies, allowing valid sessions to remain on the server side, which can be exploited by attackers to reuse these sessions.

What to do

If a malicious user finds that residual session cookie, they could gain unauthorized access to accounts and perform actions they shouldn't be able to, potentially compromising sensitive data and access rights. This makes it a surprisingly sneaky way to escalate privileges! Upgrade your Gitea instance to version 1.15.8 or later to ensure that session cookies are properly managed and prevent unauthorized access. Conduct an audit of your user sessions to identify any potential misuse. 🔒 You've got this! With the right updates in place, you'll keep your Gitea instance secure and your users happy! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01447 · 73.1th percentile
Published
2022-02-09T17:16Z
EPSS history
Timeline
  • 09 FEB 17:16Z
    An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains…
    cvelistv5