CVE-2022-34950

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

published August 2, 2022

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

🚨 An SQL injection vulnerability in Pharmacy Management System v1.0 could let an attacker manipulate database queries simply by modifying the 'id' parameter in a URL! 🔥 Think of it like a diner who orders food but sneaks in changes to the chef's note, resulting in a completely different meal being served. If the chef doesn't check the order, they could end up serving something unexpected! An attacker could potentially alter product information, access sensitive data, or even execute unauthorized commands within the database—totally altering the pharmacy's inventory records! This could lead to data corruption, financial loss, and a massive headache for the pharmacy owners.

Put simply

Think of it like a diner who orders food but sneaks in changes to the chef's note, resulting in a completely different meal being served. If the chef doesn't check the order, they could end up serving something unexpected! This SQL injection vulnerability allows attackers to inject malicious SQL commands via the 'id' parameter in the 'editproduct.php' page, potentially compromising the entire database.

What to do

An attacker could potentially alter product information, access sensitive data, or even execute unauthorized commands within the database—totally altering the pharmacy's inventory records! This could lead to data corruption, financial loss, and a massive headache for the pharmacy owners. Make sure to sanitize all inputs to the database and use prepared statements to prevent SQL injection attacks. Additionally, consider upgrading to a patched version if available, and conduct a security review to identify any other weaknesses. You've got this! With a few adjustments, you’ll have this vulnerability under control 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 id parameter at editproduct.php
    cvelistv5