CVE-2024-46532

SQL Injection vulnerability in OpenHIS v.1.0 allows an attacker to execute arbitrary code via the refund function in the PayController.class.php component

Critical · published October 11, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
61.5
In the wild
Unconfirmed
What it is

🚨 A single SQL injection in OpenHIS could let attackers execute arbitrary code through the refund function—talk about a game changer! 🔥 Think of it like a sneaky chef slipping a harmful ingredient into a dish through an unguarded backdoor—once it’s in, they can cook up anything they want! An attacker exploiting this vulnerability could gain complete control over the database, potentially leading to unauthorized access to sensitive information, altering financial records, or even disabling critical functions of the application. The consequences could be absolutely devastating if not addressed promptly!

Put simply

Think of it like a sneaky chef slipping a harmful ingredient into a dish through an unguarded backdoor—once it’s in, they can cook up anything they want! This SQL injection vulnerability allows attackers to manipulate queries sent to the database via the `refund` function in the `PayController.class.php`, essentially letting them run any code they want against the database.

What to do

An attacker exploiting this vulnerability could gain complete control over the database, potentially leading to unauthorized access to sensitive information, altering financial records, or even disabling critical functions of the application. The consequences could be absolutely devastating if not addressed promptly! To mitigate this risk, immediately patch OpenHIS to the latest version. Implement prepared statements to prevent SQL injection, and conduct a thorough review of all database interactions in your application. Don't delay—this needs your attention! You’ve got this! Follow these steps to lock things down and stay a security hero! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00968 · 61.5th percentile
Published
2024-10-11T00:00Z
EPSS history
Timeline
  • 11 OCT 00:00Z
    SQL Injection vulnerability in OpenHIS v.1.0 allows an attacker to execute arbitrary code via the refund function in the PayController.class.php component
    cvelistv5