CVE-2021-44280

attendance management system 1.0 is affected by a SQL injection vulnerability in admin/incFunctions.php through the makeSafe function

published December 1, 2021

CVSS
—
EPSS
2%
Percentile
80.3
In the wild
Unconfirmed
What it is

⚠️ A seemingly harmless function in attendance management system 1.0 allows SQL injection through admin/incFunctions.php — like a restaurant accepting orders without verifying them first! Imagine a restaurant where the kitchen staff prepares meals based on any order shouted from the dining area, without checking who made the request. This SQL injection vulnerability allows attackers to manipulate the database by crafting special queries, just like mischievous diners ordering dishes that were never on the menu! An attacker could exploit this vulnerability to access sensitive data, modify records, or even delete vital entries — a recipe for chaos in your attendance records! This could lead to unauthorized access and potentially undermine the integrity of the entire system.

Put simply

Imagine a restaurant where the kitchen staff prepares meals based on any order shouted from the dining area, without checking who made the request. This SQL injection vulnerability allows attackers to manipulate the database by crafting special queries, just like mischievous diners ordering dishes that were never on the menu! The vulnerability arises in the `makeSafe` function within the admin/incFunctions.php file, allowing unsanitized user inputs to interact with the SQL database, which can be exploited to execute arbitrary SQL commands.

What to do

An attacker could exploit this vulnerability to access sensitive data, modify records, or even delete vital entries — a recipe for chaos in your attendance records! This could lead to unauthorized access and potentially undermine the integrity of the entire system. Immediately review and sanitize all inputs within the `makeSafe` function to ensure they cannot be manipulated. Consider applying prepared statements and parameterized queries to bolster your defenses. Regularly audit your codebase for similar vulnerabilities to keep your system secure! You’re on the right track! Address these issues, and you’ll enhance your system's security in no time. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01972 · 80.3th percentile
Published
2021-12-01T12:42Z
EPSS history
Timeline
  • 01 DEC 12:42Z
    attendance management system 1.0 is affected by a SQL injection vulnerability in admin/incFunctions.php through the makeSafe function
    cvelistv5