Skip to main content

Simple library for getting stats from Ubee routers.

Project description


Python library for getting stats from Ubee routers.


You can install PyUbee from PyPi using pip3 install pyubee.


To use within your Python scripts:

from pyubee import Ubee

ubee = Ubee(

if not ubee.session_active():

devices = ubee.get_connected_devices()

for x in devices:
    print('%s (%s)' % (x, devices[x]))



A simple command line interface is available to query the router. The cli takes host, username, and password as mandatory arguments. The optional argument model can be used to specify the model of your router. If model is not specified, this tool will try to detect it automatically.

$ pyubee --help
usage: pyubee [-h] [--model MODEL] host username password


positional arguments:
  host           Host
  username       Username
  password       Password

optional arguments:
  -h, --help     show this help message and exit
  --model MODEL  Model, supported models: EVW32C-0N, EVW3200-Wifi

$ pyubee admin somepassword


Ubee devices contain vulnerability which allows user to access Admin Web UI without logging in if someone else is logged in from the same IP address. For example if you have Ubee router (e.g. in your home installed from your ISP and you have your own router ( connected to it and you are doing NAT (Network Address Translation) on your router, then Ubee router will see all connections from clients connected to your router coming from the same IP address In that scenario if someone logs into Ubee router Admin Web UI ( from Computer A, then anyone from Computer B or Computer C can access or any other page on without logging in.

             |               |
             |               |
             |     UBEE      |
             |               |
             |  |
             |  |
             |               |
             |  YOUR ROUTER  |
             |               |
             |    |
      |              |              |
+-----+-----+  +-----+-----+  +-----+-----+
|     A     |  |     B     |  |     C     |
|           |  |           |  |           |
| |  | |  | |
+-----------+  +-----------+  +-----------+

You should have this in your mind if you have similar setup.

Author of this package reported this issue to Vendor, even if it's known for years, but there is no response from Vendor and it looks like they are pushing firmware with the same vulnerability probably to all of their devices.

Supported routers

This library was written for and tested with:

  • Ambit EVW320B
  • Ambit EVW321B
  • Ubee DDW36C
  • Ubee DVW32CB
  • Ubee EVW32C-0N
  • Ubee EVW3200-Wifi
  • Ubee EVW3226 (UPC)
  • Ubee UBC1303BA00

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyubee-0.11.tar.gz (23.1 kB view hashes)

Uploaded source

Built Distribution

pyubee-0.11-py3-none-any.whl (20.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page