header-logo
Suggest Exploit
vendor:
Employee Record Management System
by:
Anurag Kumar Rawat(A1C3VENOM)
8.8
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Employee Record Management System
Affected Version From: 1.1
Affected Version To: 1.1
Patch Exists: No
Related CWE: N/A
CPE: phpgurukul.com/employee-record-management-system-in-php-and-mysql/
Metasploit: N/A
Other Scripts: N/A
Platforms Tested: Parrot OS (Linux)
2020

Employee Record Management System 1.1 – Login Bypass SQL Injection

An attacker can gain admin panel access using malicious sql injection quiries by entering a payload of ' or '1'='1 in both the fields (User ID & Password) of the login page.

Mitigation:

Input validation should be done to prevent SQL injection attacks.
Source

Exploit-DB raw data:

# Exploit Title: Employee Record Management System 1.1 - Login Bypass SQL Injection
# Date: 2020–11–17
# Exploit Author: Anurag Kumar Rawat(A1C3VENOM)
# Vendor Homepage: https://phpgurukul.com
# Software Link: https://phpgurukul.com/employee-record-management-system-in-php-and-mysql/
# Version: 1.1
# Tested on Parrot os(Linux)

Attack Vector:
An attacker can gain admin panel access using malicious sql injection quiries.

Steps to reproduce:
1. Open admin login page using following URl:
-> http://localhost/erms/admin/index.php

2. Now put below Payload in both the fields( User ID & Password)
Payload: ' or '1'='1

3)Server accept this payload and attacker successfully bypassed admin panel
without any credentials