CVE-2022-38488

logrocket-oauth2-example through 2020-05-27 allows SQL injection via the /auth/register username parameter

Critical · published December 14, 2022

CVSS v3.1
9.8
EPSS
14%
Percentile
96.6
In the wild
Unconfirmed
What it is

🔥 A simple username entry could unleash chaos! An SQL injection vulnerability lurks in the /auth/register endpoint of logrocket-oauth2-example, ready to wreak havoc! Think of it like a restaurant taking orders without checking if a dish is on the menu. If a customer slips in a request for something completely different, the kitchen might just whip it up, leading to a disastrous meal! An attacker could exploit this flaw to manipulate the database, leading to unauthorized data access, data leakage, or even full control of the system. This is not just a minor mishap; it’s an open invitation to breach sensitive information and compromise user accounts. Absolutely devastating!

Put simply

Think of it like a restaurant taking orders without checking if a dish is on the menu. If a customer slips in a request for something completely different, the kitchen might just whip it up, leading to a disastrous meal! This SQL injection vulnerability allows attackers to insert malicious SQL code through the username parameter during registration, potentially compromising the database and exposing sensitive data.

What to do

An attacker could exploit this flaw to manipulate the database, leading to unauthorized data access, data leakage, or even full control of the system. This is not just a minor mishap; it’s an open invitation to breach sensitive information and compromise user accounts. Absolutely devastating! Immediately patch to the latest version of logrocket-oauth2-example to close this exploit. Implement input validation and use prepared statements to secure your queries against injection attacks. Don’t delay; secure your application today! You've got this! Following these steps will bolster your defenses and keep your data safe! 🛡️

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.14244 · 96.6th percentile
Published
2022-12-14T00:00Z
EPSS history
Timeline
  • 14 DEC 00:00Z
    logrocket-oauth2-example through 2020-05-27 allows SQL injection via the /auth/register username parameter
    cvelistv5