vendor:
dawa-pharma
by:
nu11secur1ty
6.1
CVSS
HIGH
SQL Injection
89
CWE
Product Name: dawa-pharma
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE: Not provided
CPE: a:mayurik:dawa-pharma:1.0
Platforms Tested:
2022
dawa-pharma-1.0-2022 Multiple-SQLi
The 'email' parameter of dawa-pharma-1.0-2022 is vulnerable to SQL injection attacks. By injecting a malicious payload that includes a sub-query calling MySQL's load_file function with a UNC file path pointing to an external domain, an attacker can execute arbitrary SQL queries. This can lead to unauthorized access to sensitive client information and server credentials.
Mitigation:
To mitigate this vulnerability, sanitize and validate user input to prevent SQL injection attacks. Additionally, consider using parameterized queries or prepared statements to interact with the database.