Friday, March 18, 2022

Dbltek GoIP - Local File Inclusion

# Exploit Title: Dbltek GoIP - Local File Inclusion
# Date: 20.02.2022
# Exploit Author: Valtteri Lehtinen & Lassi Korhonen
# Vendor Homepage:
# Software Link: -
# Version: GHSFVT-1.1-67-5 (firmware version)
# Tested on: Target is an IoT device

# Exploit summary
Dbltek GoIP-1 is a VoIP-GSM gateway device, which allows making calls and sending SMS messages using SIP.
The device has a webserver that contains two pre-auth Local File Inclusion vulnerabilities.

Using these, it is possible to download the device configuration file containing all device credentials (including admin panel credentials and SIP credentials) if the configuration file has been backed up.

It is probable that also other models and versions of Dbltek GoIP devices are affected.


# Proof of Concept
Assuming the device is available on IP

Download /etc/passwd ..%2f..%2fetc%2fpasswd ..%2f..%2f..%2fetc%2fpasswd

Download device configuration file from /tmp/config.dat (requires that the configuration file has been backed up)

Copyright © 2021 Vulnerability Database | Cyber Details™

thank you Templateism for the design - You should have written the code a little more complicated - Nothing Encrypted anymore