usd-2020-0034 | Gambio GX 4.0.0.0

Advisory ID: usd-2020-0034
CVE Number: CVE-2020-10983
Affected Product: Gambio GX
Affected Version: 4.0.0.0
Vulnerability Type: Blind SQL Injection
Security Risk: Medium
Vendor URL: https://www.gambio.de/
Vendor Status: Fixed in 4.0.1.0 (according to vendor)

Description

The web shop application „Gambio GX“ contains a blind SQL injection vulnerability in the admin area. The vulnerability allows an authenticated attacker with administrative privileges to leak database contents.

Introduction

The application gambio has a blind SQL injection vulnerability in the admin area. The file /admin/mobile.php between line 75 and 94 contains the vulnerable code. The POST argument $order_id is passed to the application and is concatenated with the SQL query. An attacker could exploit this to manipulate the database query.

Proof of Concept (PoC)

The following request can be send to the web application. This request would cause the server to respond after 20 seconds.

Fix

Most instances of SQL injection can be prevented by using parameterized queries (also known as prepared statements) instead of string concatenation within the query.

Timeline

Credits

This security vulnerability was found by Gerbert Roitburd of usd AG.

ABOUT usd SECURITY ADVISORIES

In order to protect businesses against hackers and criminals, we always have to keep our skills and knowledge up to date. Thus, security research is just as important for our work as is building up a security community to promote the exchange of knowledge. After all, more security can only be achieved if many individuals take on the task.

Our CST Academy and our usd HeroLab are essential parts of our security mission. We share the knowledge we gain in our practical work and our research through training courses and publications. In this context, the usd HeroLab publishes a series of papers on new vulnerabilities and current security issues.

Always for the sake of our mission: „more security.“

to usd AG


In accordance with usd AG’s Responsible Disclosure Policy, all vendors have been notified of the existence of these vulnerabilities.

Disclaimer

The information provided in this security advisory is provided „as is“ and without warranty of any kind. Details of this security advisory may be updated in order to provide as accurate information as possible.