CVE-2022-34953

Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the startDate parameter at getOrderReport.php

published August 2, 2022

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

⚠️ A sneaky SQL injection vulnerability lurks in the Pharmacy Management System's order reporting! This one sneaks in through the startDate parameter like an uninvited guest at a dinner party. 🍽️ Think of it like a restaurant that lets you order a dish just by saying the date you want it served. If they don’t check the order closely, you could ask for a meal that isn’t on the menu — and worse, you might end up with the chef’s secret recipe exposed! This vulnerability could allow an attacker to manipulate the database queries, potentially leading to unauthorized access to sensitive patient data or system modifications. If exploited, it could compromise the integrity of the entire pharmacy management system, risking patient safety and data confidentiality.

Put simply

Think of it like a restaurant that lets you order a dish just by saying the date you want it served. If they don’t check the order closely, you could ask for a meal that isn’t on the menu — and worse, you might end up with the chef’s secret recipe exposed! In the Pharmacy Management System v1.0, inadequate sanitation of the startDate parameter in the getOrderReport.php file allows for SQL injection, enabling attackers to execute arbitrary SQL code against the database.

What to do

This vulnerability could allow an attacker to manipulate the database queries, potentially leading to unauthorized access to sensitive patient data or system modifications. If exploited, it could compromise the integrity of the entire pharmacy management system, risking patient safety and data confidentiality. Developers should immediately sanitize and validate user inputs in the getOrderReport.php file. Additionally, implement prepared statements to prevent SQL injection. Regularly audit your code for vulnerabilities like this one. You've got this! By taking these actions, you'll be on your way to making the system more secure in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00962 · 61.3th percentile
Published
2022-08-02T02:54Z
EPSS history
Timeline
  • 02 AUG 02:54Z
    Pharmacy Management System v1.0 was discovered to contain a SQL injection vulnerability via the startDate parameter at getOrderReport.php
    cvelistv5