usd-2020-0033 | Gambio GX 4.0.0.0


Advisory ID: usd-2020-0033
CVE Number: CVE-2020-10982
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.

Proof of Concept (PoC)

The application gambio has a blind SQL injection vulnerability in the admin area. The file admin/gv_mail.php between line 361 and 365 contains the vulnerable code. The GET argument cID is passed to the application and is concatenated with the SQL query. An attacker could exploit this to manipulate the database query.

The following request can be send to the web application. This request would cause the server to respond only after 15 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.

References

https://owasp.org/www-community/attacks/SQL_Injection

Timeline

Credits

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