usd-2020-0034 | Gambio GX 18.104.22.168
Advisory ID: usd-2020-0034
CVE Number: CVE-2020-10983
Affected Product: Gambio GX
Affected Version: 22.214.171.124
Vulnerability Type: Blind SQL Injection
Security Risk: Medium
Vendor URL: https://www.gambio.de/
Vendor Status: Fixed in 126.96.36.199 (according to vendor)
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.
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.
Most instances of SQL injection can be prevented by using parameterized queries (also known as prepared statements) instead of string concatenation within the query.
- 2020-03-25 Vulnerability Discovered
- 2020-03-26 Initial Contact Request
- 2020-03-26 Advisory submitted to vendor
- 2020-05-04 Vendor publishes fix in Beta Version of Gambio GX 188.8.131.52 Beta1 https://tracker.gambio-server.net/issues/66736
- 2020-05 Vendor publishes 184.108.40.206 https://developers.gambio.de/changelog/#bugfix220.127.116.11
- 2020-06-18 Security advisory released
This security vulnerability was found by Gerbert Roitburd of usd AG.