CVE-2024-45522

Linen before cd37c3e does not verify that the domain is linen.dev or www.linen.dev when resetting a password

Critical · published September 1, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
44.6
In the wild
Unconfirmed
What it is

🚨 A password reset flaw could let attackers target any domain, not just linen.dev — it’s like a bouncer who forgets to check IDs at the club! 🔥 Picture a nightclub where anyone can waltz in with any name on the guest list as long as they can say ‘I’m cool’. That’s what’s happening here — the system isn’t checking if the domain is actually part of your VIP list, making it wide open for impersonation shenanigans. An attacker could exploit this by resetting passwords for any user, potentially locking them out of their accounts or gaining unauthorized access. This scenario could lead to devastating account takeovers, data breaches, and significant damage to user trust.

Put simply

Picture a nightclub where anyone can waltz in with any name on the guest list as long as they can say ‘I’m cool’. That’s what’s happening here — the system isn’t checking if the domain is actually part of your VIP list, making it wide open for impersonation shenanigans. This vulnerability in Linen's password reset process fails to restrict the domain verification properly, allowing any domain to issue a reset request without authentication, which poses a severe security threat.

What to do

An attacker could exploit this by resetting passwords for any user, potentially locking them out of their accounts or gaining unauthorized access. This scenario could lead to devastating account takeovers, data breaches, and significant damage to user trust. To fix this, ensure the password reset functionality verifies that the domain matches either linen.dev or www.linen.dev. It’s essential to review and patch the affected version immediately. This is fixable! By implementing the right domain checks, you’ll secure your users in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00540 · 44.6th percentile
Published
2024-09-01T00:00Z
EPSS history
Timeline
  • 01 SEP 00:00Z
    Linen before cd37c3e does not verify that the domain is linen.dev or www.linen.dev when resetting a password
    cvelistv5