Vulnerability advisory
GHSA-g6xv-8q23-w2q3
SQL Injection in Gogs
Also known as CVE-2014-8682GO-2022-0831
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Affected versions
| Affected | Fixed in |
|---|---|
0.3.1 to before 0.5.8 | 0.5.8 |
Description
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2014-8682 ↗
- Webgithub.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d ↗
- Webexchange.xforce.ibmcloud.com/vulnerabilities/98694 ↗
- Webgithub.com/gogits/gogs/releases/tag/v0.5.8 ↗
- Webwww.exploit-db.com/exploits/35238 ↗
- Webgogs.io/docs/intro/change_log.html ↗
- Webpacketstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html ↗
- Webpacketstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html ↗
- Webseclists.org/fulldisclosure/2014/Nov/31 ↗
- Webseclists.org/fulldisclosure/2014/Nov/33 ↗
- Webwww.exploit-db.com/exploits/35238 ↗
- Webwww.securityfocus.com/archive/1/533995/100/0/threaded ↗
- Webwww.securityfocus.com/bid/71187 ↗