SQL injection in Gitlab Community Edition - CVE-2018-18641

 

SQL injection in Gitlab Community Edition - CVE-2018-18641

Published: October 30, 2018


Vulnerability identifier: #VU15572
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-18641
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GitLab, Inc
Affected software:
Gitlab Community Edition

Detailed vulnerability description

The disclosed vulnerability allows a remote attacker to execute arbitrary SQL commands in application database.

The vulnerability exists due to personal access tokens were being stored unencrypted as plain text in the database. A remote attacker can send a specially crafted request to vulnerable application and execute arbitrary SQL commands in application's database.


How to mitigate CVE-2018-18641

The vulnerability has been fixed in the versions 11.4.3, 11.3.8, 11.2.7.

Sources