CVE-2021-25213

SQL injection vulnerability in SourceCodester Travel Management System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the catid…

published July 22, 2021

CVSS
—
EPSS
1%
Percentile
73.5
In the wild
Unconfirmed
What it is

⚠️ A crafty SQL injection hides in the SourceCodester Travel Management System! An attacker can exploit the catid parameter in subcat.php to gain control over your database. 🔥 Think of it as a waiter who takes your order but can also change the menu behind the scenes. If they have access to the kitchen, they can cook up anything they want, and your delicious meal can quickly turn into a disaster! This SQL injection vulnerability can allow an attacker to execute arbitrary SQL statements, potentially letting them manipulate, delete, or leak sensitive information from your database. In a worst-case scenario, they could take full control of your travel management system!

Put simply

Think of it as a waiter who takes your order but can also change the menu behind the scenes. If they have access to the kitchen, they can cook up anything they want, and your delicious meal can quickly turn into a disaster! The vulnerability exists due to insufficient input validation on the catid parameter in subcat.php, allowing attackers to craft malicious SQL queries that the server will execute. This flaw can lead to unauthorized access or modification of your database contents.

What to do

This SQL injection vulnerability can allow an attacker to execute arbitrary SQL statements, potentially letting them manipulate, delete, or leak sensitive information from your database. In a worst-case scenario, they could take full control of your travel management system! To mitigate this vulnerability, validate and sanitize all user inputs, particularly the catid parameter. Additionally, consider using prepared statements or parameterized queries to prevent SQL injection attacks. Finally, keep your software up to date to benefit from security patches. You've got this! By taking these proactive steps, you'll help fortify your system against potential threats. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01476 · 73.5th percentile
Published
2021-07-22T19:08Z
EPSS history
Timeline
  • 22 JUL 19:08Z
    SQL injection vulnerability in SourceCodester Travel Management System v 1.0 allows remote attackers to execute arbitrary SQL statements, via the catid…
    cvelistv5