usd-2020-0031 | Gambio GX 188.8.131.52
Advisory ID: usd-2020-0031
CVE Number: CVE-2020-10984
Affected Product: Gambio GX
Affected Version: 184.108.40.206
Vulnerability Type: Cross-Site-Request-Forgery (CSRF)
Security Risk: Critical
Vendor URL: https://www.gambio.de/
Vendor Status: Fixed in 220.127.116.11 (according to vendor)
The open source application is vulnerable to a number of Cross-Site Request Forgery (CSRF) attacks. CSRF is an attack that forces an end user to execute unwanted actions on a web application in which they are currently authenticated. A lot of critical functions are executed from the shop backend which is not secured against CSRF attacks. In the worst case CSRF can lead to code execution.
Proof of Concept (PoC)
An attacker could create an HTML page with the following content:
An already authenticated backend user who visits the attacker’s site and presses the “Submit request” button would, unknowingly, upload a php file. The file will be stored into /media/content/webshell.php and allow code execution for the attacker.
The following request allows an attacker to view the /etc/passwd file:
By using token-based requests CSRF can be prevented. It can be achieved either with state (synchronizer token pattern) or stateless (encrypted or hashed based token pattern). CSRF tokens should be generated on the server-side. They can either be generated once per user session or for each request. An attacker would therefore have to guess or know the randomly generated token for a successful attack.
- 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 18.104.22.168 Beta1 https://tracker.gambio-server.net/issues/66736
- 2020-05 Vendor publishes 22.214.171.124 https://developers.gambio.de/changelog/#bugfix126.96.36.199
- 2020-06-18 Security advisory released
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.”
In accordance with usd AG’s Responsible Disclosure Policy, all vendors have been notified of the existence of these vulnerabilities.
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.