Lucene search
K

Sawmill Enterprise 8.7.9 - Authentication Bypass

🗓️ 18 Feb 2017 00:00:00Reported by hyp3rlinxType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 68 Views

Sawmill Enterprise 8.7.9 Authentication Bypass vulnerability allows attackers to login using hashed user passwords, resulting in Privilege Escalation and Information Disclosure

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Sawmill Enterprise 8.7.9 Authentication Bypass Vulnerability
21 Feb 201700:00
zdt
CNVD
Sawmill Enterprise Authentication Bypass Vulnerability
21 Feb 201700:00
cnvd
CVE
CVE-2017-5496
15 Mar 201715:00
cve
Cvelist
CVE-2017-5496
15 Mar 201715:00
cvelist
exploitpack
Sawmill Enterprise 8.7.9 - Authentication Bypass
18 Feb 201700:00
exploitpack
NVD
CVE-2017-5496
15 Mar 201715:59
nvd
OpenVAS
Sawmill Authentication Bypass Vulnerability
23 Feb 201700:00
openvas
Packet Storm
Sawmill Enterprise 8.7.9 Authentication Bypass
20 Feb 201700:00
packetstorm
Prion
Design/Logic Flaw
15 Mar 201715:59
prion
[+] Credits: John Page AKA Hyp3rlinx
[+] Website: hyp3rlinx.altervista.org
[+] Source: http://hyp3rlinx.altervista.org/advisories/SAWMILL-PASS-THE-HASH-AUTHENTICATION-BYPASS.txt
[+] ISR: ApparitionSec



Vendor:
===============
www.sawmill.net



Product:
========================
Sawmill Enterprise v8.7.9

sawmill8.7.9.4_x86_windows.exe
hash: b7ec7bc98c42c4908dfc50450b4521d0

Sawmill is a powerful heirarchical log analysis tool that runs on every
major platform.


Vulnerability Type:
===================================
Pass the Hash Authentication Bypass



CVE Reference:
==============
CVE-2017-5496



Security Issue:
=====================
Sawmill suffers from a classic "Pass The Hash" vulnerability whereby an
attacker who gains access to the hashed user account passwords
can login to the Sawmill interface using the raw MD5 hash values, allowing
attackers to bypass the work of offline cracking
account password hashes.


This issue usually is known to affect Windows systems e.g. (NT Pass the
Hash/Securityfocus, 1997). However, this vulnerability can also
present itself in a vulnerable Web application.

Sawmill account password hashes are stored under LogAnalysisInfo/ directory
in "users.cfg".

e.g.

users = {
  root_admin = {
    username = "admin"
    password_checksum = "e99a18c428cb38d5f260853678922e03"
    email_address = ""


This config file is stored local to the Sawmill application. However, if an
attacker gains access to a backup of the config that is
stored in some other location that is then compromised, it can lead to
subversion of Sawmills authenticaton process.

Moreover, since 'users.cfg' file is world readble a regular non Admin
Windows user who logs into the system running sawmill can now grab
a password hash and easily login to the vulnerable application without the
needing the password itself.


How to test?


Sawmill running (default port 8988), log off Windows and switch to a
"Standard" Windows non Administrator user.

1) Open "users.cfg" under Sawmills directory "C:\Program Files\Sawmill 8\LogAnalysisInfo" and copy the root_admin Admin password hash.

2) Go to the Sawmill login page in web browser http://VICTIM-IP:8988/ enter username 'admin' and the hash, Tada! your Admin.


Finally, Sawmill passwords are hashed using vulnerable MD5 algorithm and no
salt.


e.g.

password: abc123
MD5 hash:
e99a18c428cb38d5f260853678922e03



Disclosure Timeline:
=====================================
Vendor Notification: January 7, 2017
CVE-2017-5496 assigned : January 20
Request status : January 26
Vendor: Fix avail later in year still no ETA
Inform vendor public disclose date
February 18, 2017 : Public Disclosure



Network Access:
===============
Remote



Impact:
======================
Information Disclosure
Privilege Escalation



Severity Level:
================
High



[+] Disclaimer
The information contained within this advisory is supplied "as-is" with no
warranties or guarantees of fitness of use or otherwise.
Permission is hereby granted for the redistribution of this advisory,
provided that it is not altered except by reformatting it, and
that due credit is given. Permission is explicitly given for insertion in
vulnerability databases and similar, provided that due credit
is given to the author. The author is not responsible for any misuse of the
information contained herein and accepts no responsibility
for any damage caused by the use or misuse of this information. The author
prohibits any malicious use of security related information
or exploits by the author or elsewhere.

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

18 Feb 2017 00:00Current
9.6High risk
Vulners AI Score9.6
CVSS 25
CVSS 39.8
EPSS0.11321
68