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

PositiveGrid Spark API Multiple Vulnerabilities

Low

Synopsis

User Enumeration Vulnerability

It is possible to determine whether or not a given username is valid via the /api/req_reset_pwd endpoint on api.positivegrid.com.

If a username is valid, a 200 response is returned. If not, a 500 response is returned with a json body stating that the user does not exist.

Due to improper rate limiting (discussed further later in this document), it is possible for an actor to supply an arbitrary list of usernames/emails in order to determine a user's existence. This could facilitate a credential stuffing attack.

Lack of rate limit or captcha regarding account creation

User accounts are created by sending a POST request to the /v2/user endpoint on api.positivegrid.com. A sample request is as follows:

POST /v2/user HTTP/1.1
Host: api.positivegrid.com
Cookie: express:sess=redacted; express:sess.sig=redacted
Accept: */*
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Accept-Encoding: gzip, deflate
User-Agent: Spark/2.0.2 (com.positivegrid.jamupeditor; build:3846; iOS 14.3.0) Alamofire/4.8.2
Accept-Language: en-US;q=1.0
Content-Length: 162
Connection: close

[email protected]&full_name=bug%20hunters&password=password&username=username

As there is no captcha or validation process prior account creation/activation, it is possible for a malicious actor to create an arbitrary number of accounts. This is only limited by the services overall rate limiting, which is trivially bypassed and will be discussed later in this document.

Brute Forcing Passwords

Due to the lack of sufficient rate limiting, captchas, or other such limits, a malicious actor can attempt to brute force an account by submitting an arbitrary number of login requests such as the following:

POST /v2/auth HTTP/1.1
Host: api.positivegrid.com
Cookie: express:sess=redacted; express:sess.sig=redacted
Accept: */*
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Accept-Encoding: gzip, deflate
User-Agent: Spark/2.0.2 (com.positivegrid.jamupeditor; build:3846; iOS 14.3.0) Alamofire/4.8.2
Accept-Language: en-US;q=1.0
Content-Length: 47
Connection: close

password=password123e&[email protected]

Lack of sufficient rate limiting

The api.positivegrid.com endpoint does not appear to have sufficient rate limiting. About 500 requests are able to be send by a single IP address before hitting a limit and receiving a response stating that too many requests have been made. The limit appears to be reset within a minute or two of being hit, which immediately allows another 500 requests to be made. This means that a malicious actor can send an arbitrary number of requests by rotating requests between a small handful of ip address.

Potential Information Disclosure

While the Spark app does not currently have the ability to view other users' profiles, the profile image functionality could potentially cause an information disclosure of user information (namely the user's IP address) by forcing a client-side request to an arbitrary URL.

To demonstrate, when creating an account, it is possible to supply a "profile_image_url." When viewing your own profile (currently the only profiles viewable within the Spark app itself), a request is sent from the client application to the target URL.

The following request can be used to create a new account with a poisoned URL:

POST /v2/user HTTP/1.1
Host: api.positivegrid.com
Cookie: express:sess=redacted; express:sess.sig=redacted
Accept: */*
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Accept-Encoding: gzip, deflate
User-Agent: Spark/2.0.2 (com.positivegrid.jamupeditor; build:3846; iOS 14.3.0) Alamofire/4.8.2
Accept-Language: en-US;q=1.0
Content-Length: 162
Connection: close

[email protected]&full_name=bug%20hunter&password=password&username=username&&profile_image_url=https://somerandomtrackingsite.tld/

Possible disclosure of unreleased functionality

By utilizing the beta-api.positivegrid.com endpoint, it is possible create accounts as per the standard methods on api.positivegrid.com. This may lead to the exposure of unreleased functionality. For example, it appears as though the beta api indicates that user comments on tonecloud presets may be in development as per the "preset_comments" field below and other items on the preset endpoints themselves:

{"user_status":1,"user_role":1,"_id":"redacted","email":"[email protected]","id":"redacted","userprofile":{"full_name":"bug hunters","first_name":null,"last_name":null,"title":null,"gender":null,"profile_image_url":"https://somerandomtrackingsite.tld/","profile_thumb_url":null,"_id":"redacted","date_joined":"2022-01-12T20:28:48.299Z"},"presets":[],"preset_comments":[],"liked_presets":[],"num_preset_comments":0,"num_liked_presets":0}]

Other potential leaks include references to unreleased products, such as a Spark 10, which was confirmed to be the Spark Mini post-release.

Solution

No known solutions at this time. Vendor did not respond to attempted disclosures.

Disclosure Timeline

January 12, 2022 - Tenable requests security contact via both webform and support email.
January 19, 2022 - Tenable requests security contact via support email.
January 26, 2022 - Tenable makes final security contact request via support email.

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-2022-11
Affected Products:
PositiveGrid API Services
Risk Factor:
Low

Advisory Timeline

April 12, 2022 - 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