×

Warning

JUser: :_load: Unable to load user with ID: 43

UBIQUITI - Security bug

Detecting and removing

router ubnt
Reacting to the revealed vulnerability, we released ISPadmin, version 4.20, which included a utility for detecting and curing infected Ubiquiti units. Due to the emergency situation we released the very first version of the utility quickly.

Now we are presenting the utility with enhanced functionalities.

alert icon Run the utility from ISPadmin console (connected via SSH) under root user, ISPadmin does not detect anything automatically!

/usr/local/script/ispadmin/ubnt_vulnerability_test.pl

 

When running the utility without any parameter, help is displayed.

terminal help

 

Check devices from ISP admin bookmark ROUTERS
/usr/local/script/ispadmin/ubnt_vulnerability_test.pl check <username> <username2> <username3> <username4> <username5> - show ONLY vulnerable and infected ROUTERS ( AP )


Tests all Ubiquiti units inserted in Hardware Routers. If you run this command, the system tries to attack the unit, and if it succeeds, the console displays information with IP address and firmware version. If the system succeeds in connecting to Ubiquiti unit, it tries to determine whether there is the virus or not. If yes, it displays such information in the console. Nothing else. When 10 units are tested, a dot appears on the screen to show you that the script is still running and testing other units.


Check devices like AP ....( may take a long time )
/usr/local/script/ispadmin/ubnt_vulnerability_test.pl checkdevices <username> <username2> <username3> <username4> <username5>
  - show ONLY vulnerable and infected devices ( Acces points )


Tests all devices inserted as “Device attached to device” in Hardware Routers. In this case, the utility doesn´t care about device type since such information might not be available here. The utility tries to attack all IP addresses. If there are a lot of devices in your system, this might take a long time.

Check END USER devices ....( may take a long time )
/usr/local/script/ispadmin/ubnt_vulnerability_test.pl checkusers <username> <username2> <username3> <username4> <username5>
    - show ONLY vulnerable and infected client end device


Tests all IP addresses assigned to clients. The system tests all client-assigned IP addresses for it does not know whether a client has Ubiquiti device, or not. This operation might take a long time, since all IP addresses in the system are tested.

Clean INFECTED devices ( from previous check )
/usr/local/script/ispadmin/ubnt_vulnerability_test.pl cleaninfected
   - show vulnerable and infected devices and  REMOVE infection


If an infected unit is detected in the previous step, you may clean it this way. This operation connects to and cleans just those units, which are marked as infected. It means that prior to this step you have to run the utility with parameters check, checkdevices, or checkusers. Failing this no units are marked as infected and using parameter “cleaninfected” makes no difference.

 

terminal

A mandatory parameters are: check, checkdevices, checkusers, or cleaninfected. You may use user names, which you use for login to Ubiquiti units as an optional parameter. This is needed in cases when a key is stored in Ubiquiti unit after being attacked to enable login via ssh without password. You need to know the user name with which you connect to the system. If unknown, you won´t be able to connect. While running the vulnerability test, a default user name ubnt and user admin are tested. If you use neither of these, the script won´t be able to test vulnerability hence the need for entering a different username used for accessing the unit (no need for password). Then the system will try using these usernames.

 

Listing of UBNT units in ISPadmin

When you log into ISPadmin, you will see information about Vulnerability of UBNT devices:

ubnt upozorneni

 

In Other Tools > Vulnerability of UBNT devices, you will find a tool for displaying vulnerable devices as detected by the utility - see above.

ubnt seznam

 

alert icon Check the box at the end of each row (or check all, or you may use reversed selection) to select those devices, for which you want the system to update firmware - by clicking on on the bottom.

Removing records from ISPadmin

Delete client Deleted client is not deleted from the system, instead its rec...

Adding/Editing invoice group

Invoice group set-up Name The internal name of a given invoice group...

Invoice period, floating period

The options are: not invoiced, monthly, bimonthly, quarterly, half-yearly, and y...

Generating reminders

Reminders are automatically generated every day at the time set in the reminder_...

Proforma invoices

Proforma invoice is a non-fiscal document. It is merely an instruction for the c...

Introduction to invoicing

Here you will find basic settings for you to start using Invoicing module. Gene...

Change of numerical series for Invoicing

Typically, you would need to change a numerical series for Invoicing on New Year...

Export of invoices

You may export invoices into your accounting software if it is supported by I...

Invoice logo/stamp

In Invoicing Settings Invoice Groups, while adding a new group (+ Add new gro...

Can we have multiple IBAN codes for an invoice group?

No. One IBAN equals one invoice group. You cannot have more IBAN codes for on...

Charging clients for tariff changes

You might want to charge clients, for example, when they decide to change to ...

How to issue invoices in foreign currency

If you want to issue invoices in foreign currency you can do so in a few ways...

One-time invoice for a service provided in a certain time period

If you want to issue a one-time invoice for a certain service that is provide...

Invoice due date functionality

Standalone Invoice (index.php?option=com_content view=article id=1202:creating-a...

Invoice layout modification

You cannot change invoice layout. You can only change the following (Invo...

How to send a client an email containing all of their unpaid invoices

If you want to send a particular client an email containing all of their unpaid ...

How to issue an expenditure cash slip

The system issues an expenditure cash slip when overpayments are refunded in ...

How to add overpayment into client´s credit

Let’s assume you use FIO bank. Go to InvoicingBankFIO to display all incoming...

Does ISPadmin support the PayU payment gateway?

No, the PayU payment gateway is not supported by ISPadmin.

Currency not exported

Currency is loaded from invoice group set up. You have to set up currency for...

Invoice items are not in the same language as my ISPadmin

You may define your own descriptions of invoiced items in SettingsActive service...

A credit note issued, yet the invoice is still marked as "unpaid".

When viewing a particular credit note, you have to use the Confirm the credi...

How to set the description of a pending item on an invoice

Go to Settings Syst. settings Inventory. In the Description of pending items ...

How to set the invoicing period for the VoIP service

In Settings Syst. settings General in the voip_offset item, you can state tha...

Import of CSV bank statement files to ISPadmin is not working

If you cannot import a CSV file from your bank to the ISPadmin system, check ...

How to set invoice numbering

On this page, you can find out how to appropriately and correctly set invoice...

Where to set the email address from which invoice emails are sent?

Invoice emails are sent from the email address that you have entered on the c...

How to use one client payment to settle multiple invoices

In Invoicing Bank, you can now settle more than one invoice at once (There is...

Payments from bank emails have not been imported and matched.

Check whether there are bank emails in the Invoicing Bank E-mail tab. If ...

Calculation of VAT on invoices

VAT is calculated for each individual invoice item. It is always rounded to 2...

How to modify the text on an invoice

You can change the descriptions of items on an invoice in SettingsService Gro...

Configuring your PayPal account

In order to have your PayPal-payments matching functional, each individual paym...

CSV format for payment import

Column 1 SS (Specific symbol) Column 2 Note Column 3 VS (V...

«
»

CONTACT

NET service solution, s.r.o.
Žerotínova 3056/81a
787 01 Šumperk
Czech Republic