CVE-2023-39851

webchess v1.0 was discovered to contain a SQL injection vulnerability via the $playerID parameter at mainmenu.php

Critical · published August 15, 2023

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

🚨 A sneaky $playerID parameter in webchess v1.0 could open the door to SQL injection mayhem! 🔥 Think of it like a restaurant where the kitchen can be tricked into serving up any dish just by switching a few words on the order form — dangerous, right? This vulnerability means an attacker could potentially manipulate the database just by altering what they send! An attacker exploiting this could wreak havoc, gaining unauthorized access to sensitive data or even manipulating game outcomes. It's absolutely devastating if left unaddressed, as it could lead to data breaches or complete control of the database!

Put simply

Think of it like a restaurant where the kitchen can be tricked into serving up any dish just by switching a few words on the order form — dangerous, right? This vulnerability means an attacker could potentially manipulate the database just by altering what they send! This SQL injection vulnerability occurs via the $playerID parameter in mainmenu.php, allowing attackers to craft malicious queries that the database might unwittingly execute.

What to do

An attacker exploiting this could wreak havoc, gaining unauthorized access to sensitive data or even manipulating game outcomes. It's absolutely devastating if left unaddressed, as it could lead to data breaches or complete control of the database! Immediate action is crucial! Update webchess to the latest version, ensure all input is properly sanitized, and consider implementing prepared statements to prevent SQL injection. Don't let this vulnerability linger! You've got this! By following these steps, you'll be a hero in securing your application! 🛡️

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.00846 · 57.6th percentile
Published
2023-08-15T00:00Z
EPSS history
Timeline
  • 15 AUG 00:00Z
    webchess v1.0 was discovered to contain a SQL injection vulnerability via the $playerID parameter at mainmenu.php
    cvelistv5