CVE-2021-26223

SQL injection vulnerability in SourceCodester CASAP Automated Enrollment System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id…

published July 22, 2021

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

🚨 A sneaky SQL injection vulnerability in SourceCodester's Automated Enrollment System can let an attacker execute arbitrary SQL commands through just a single parameter! ⚠️ Think of it like a restaurant with a very trusting chef who will cook anything you ask for without checking the recipe. If someone tells the chef to add poison to a dish, they might just do it without a second thought! This could lead to attackers gaining access to sensitive data, altering user records, or even wiping the database clean! Imagine the chaos if someone could rewrite the menu to serve whatever they wanted. This vulnerability is serious and needs your attention!

Put simply

Think of it like a restaurant with a very trusting chef who will cook anything you ask for without checking the recipe. If someone tells the chef to add poison to a dish, they might just do it without a second thought! The vulnerability arises due to a lack of input validation on the 'id' parameter in view_pay.php, allowing remote attackers to execute arbitrary SQL statements on the database, which can compromise data integrity and security.

What to do

This could lead to attackers gaining access to sensitive data, altering user records, or even wiping the database clean! Imagine the chaos if someone could rewrite the menu to serve whatever they wanted. This vulnerability is serious and needs your attention! To remediate this, ensure input is properly sanitized and validated. Implement prepared statements and parameterized queries to prevent SQL injection. Updating to the latest version, if available, is also crucial in enhancing overall security. You've got this! Fixing this vulnerability will make your system much safer. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01517 · 74.3th percentile
Published
2021-07-22T18:34Z
EPSS history
Timeline
  • 22 JUL 18:34Z
    SQL injection vulnerability in SourceCodester CASAP Automated Enrollment System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the id…
    cvelistv5