Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Multiple Vulnerabilities in Optimus GPS Platform

Medium

Synopsis

1. Unauthenticated brute forcing of valid IMEIs

Unauthenticated and authenticated users can brute force a number of different api endpoints in order to determine the validity of certain IMEI ids.
Many of the endpoints mentioned below can be used to do this, but one simple example which does not reveal too much device info, but can still be used to brute force valid IMEI numbers, is a POST request to /Guest/GetLastReportDate, with a POST parameter of gpsId=<IMEI>. This will return the last date that the device reported a location for valid devices, and return nothing for an invalid IMEI.

2. Get list of GPS devices belonging to individual client ids ( and hence, all valid GPSids / IMEIs ) via /Alerts/GetVehicles

An Insecure Direct Object Reference (IDOR) vulnerability exists in the /Alerts/GetClients page, allowing an authenticated attacker to retrieve the devices owned by a particular user/clientId, even if that clientId is not their own. While it does not reveal customer email/other data, it does allow a malicious user to potentially enumerate all valid GpsIds and associate them with an account. Combining this with the additional vulnerabilities mentioned below, an attacker could monitor the gps location for any device owned by any clientId.

3. Leak geofence alerting user phone number / email address via /Geofence/GetMailingList

Attackers can leak the alerting email and phone numbers for any geofence via an IDOR vulnerability in the GetMailingList endpoint. By providing different geofence IDs than their own, the attacker will receive a list of any alerting email and phone numbers for that geofence id in addition to their own alerting contact details.

4. Leak all contact emails and phone numbers via /Geofence/SaveChanges and /Geofence/GetMailingList

There is no limit to the mail ids or phone ids which can be added to an attacker-controlled geofence via the /Geofence/SaveChanges endpoint. As a result, an attacker can add emails and phone numbers which belong to other users, and upon calling /Geofence/GetMailingList for that geofence id, will be able to see the victim user’s email and phone number.This also allows the attacker to enumerate a large subset of usernames, as the default alerting email for accounts is the same as their username/account email.

5. Multiple endpoints allow unauthenticated attackers to get any device position

Endpoint 1: /Guest/SharedDevice
------------------------------------
A POST request to this endpoint does not require any authentication, and will create a publicly accessible map with any valid gps id given.
The token can then be found, activated, and used to get the device history/location.
Endpoint 2: /Guest/GetDevicePositions
------------------------------------
An IDOR vulnerability exists in this endpoint which allows an unauthenticated attacker to retrieve the device position history for any GPS Id. 
6. Multiple Endpoints allow authenticated attackers to retrieve information about devices they do not own
There are a number of endpoints which allow authenticated users to access device information for devices they do not own, including real time location data.
Endpoint 1: /GoogleEarth/GetKmlFromSite
------------------------------------
An IDOR vulnerability in this endpoint allows authenticated attackers to retrieve the current and historical location data for any device in the form of a .kml file used in applications like Google Earth.
Endpoint 2: /GoogleEarth/GetNetworkLinkKml
------------------------------------
An IDOR vulnerability exists in this endpoint which allows authenticated attackers to retrieve position information for multiple GPS devices, including those they do not own.
Endpoint 3: /Home/GetPositionsByDate
------------------------------------
An IDOR vulnerability exists in this endpoint which allows authenticated attackers to retrieve position info, by date, for any gps device.
Endpoints 4-7: /Report/DataRead, /Report/DrivingResumen, /Report/ParkingRead, and /Report/HaulRead
------------------------------------
An authenticated attacker can craft POST requests to each of the various report endpoints which allow them to view the location data for gps devices they do not own.
Endpoint 8: /Geofence/GetPositionsByDate
------------------------------------
An authenticated attacker can get the position info, by date, for any gps device with a specially crafted POST request to this endpoint.

Solution

Please contact Optimus for more information and support.

Disclosure Timeline

June 8, 2021 - Tenable reaches out to Optimus, requesting security contact
June 8, 2021 - Tenable receives automated support ticket, no further response
June 16, 2021 - Tenable reports vulnerabilities to Optimus support
June 16, 2021 - Optimus asks Tenable how their service works
June 16, 2021 - Tenable clarifies that it is not trying to sell a service, and is simply reporting the issues
June 16, 2021 - Optimus acknowledges
July 14, 2021 - Tenable asks for an update
July 14, 2021 - Optimus notes they expect the issues to be resolved shortly
September 14, 2021 - Advisory published

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

Tenable Advisory ID: TRA-2021-38
Credit:
Evan Grant
Affected Products:
Optimus GPS Tracking Platform
Risk Factor:
Medium

Advisory Timeline

September 14, 2021 - Initial Release

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Try Tenable Web App Scanning

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable One Exposure Management platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now.

Your Tenable Web App Scanning trial also includes Tenable Vulnerability Management and Tenable Lumin.

Buy Tenable Web App Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs

$3,578

Buy Now

Try Tenable Lumin

Visualize and explore your exposure management, track risk reduction over time and benchmark against your peers with Tenable Lumin.

Your Tenable Lumin trial also includes Tenable Vulnerability Management and Tenable Web App Scanning.

Buy Tenable Lumin

Contact a Sales Representative to see how Tenable Lumin can help you gain insight across your entire organization and manage cyber risk.

Try Tenable Nessus Professional Free

FREE FOR 7 DAYS

Tenable Nessus is the most comprehensive vulnerability scanner on the market today.

NEW - Tenable Nessus Expert
Now Available

Nessus Expert adds even more features, including external attack surface scanning, and the ability to add domains and scan cloud infrastructure. Click here to Try Nessus Expert.

Fill out the form below to continue with a Nessus Pro Trial.

Buy Tenable Nessus Professional

Tenable Nessus is the most comprehensive vulnerability scanner on the market today. Tenable Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save. Add Advanced Support for access to phone, community and chat support 24 hours a day, 365 days a year.

Select Your License

Buy a multi-year license and save.

Add Support and Training

Try Tenable Nessus Expert Free

FREE FOR 7 DAYS

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Already have Tenable Nessus Professional?
Upgrade to Nessus Expert free for 7 days.

Buy Tenable Nessus Expert

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Select Your License

Buy a multi-year license and save more.

Add Support and Training