CVE-2021-31650

A SQL injection vulnerability in Sourcecodester Online Grading System 1.0 allows remote attackers to execute arbitrary SQL commands via the uname parameter

Critical · published December 16, 2022

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

🚨 A single parameter is the key to chaos! This SQL injection vulnerability in Sourcecodester Online Grading System 1.0 allows remote attackers to execute arbitrary SQL commands with just the `uname` field. 🔥 Think of it like a restaurant where a customer can write whatever they want on their order slip — if no one checks it, they could request anything from the secret recipe to the chef's job! An attacker could exploit this vulnerability to manipulate the database, potentially allowing them to read private data, modify grades, or even delete vital records. This kind of access could lead to absolute chaos in an educational environment, impacting students and faculty alike!

Put simply

Think of it like a restaurant where a customer can write whatever they want on their order slip — if no one checks it, they could request anything from the secret recipe to the chef's job! This SQL injection vulnerability enables attackers to inject malicious SQL commands through the `uname` parameter, bypassing authentication and executing commands directly on the database.

What to do

An attacker could exploit this vulnerability to manipulate the database, potentially allowing them to read private data, modify grades, or even delete vital records. This kind of access could lead to absolute chaos in an educational environment, impacting students and faculty alike! To mitigate this risk, immediately patch to the latest version of the software. Additionally, implement parameterized queries to safeguard against SQL injection in the future. Regularly audit your input validation methods as a best practice! You've got this! Follow these steps to fortify your system and keep those grades 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.01438 · 72.9th percentile
Published
2022-12-16T00:00Z
EPSS history
Timeline
  • 16 DEC 00:00Z
    A SQL injection vulnerability in Sourcecodester Online Grading System 1.0 allows remote attackers to execute arbitrary SQL commands via the uname parameter
    cvelistv5