high7.3Public exploit code
CVE-2014-8682
SQL Injection in Gogs
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Gogs - 'users'/'repos' '?q' SQL Injection2014-11-14 · webapps · multiple
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | gogs.io/gogs | >= 0.3.1, < 0.5.8 | 0.5.8 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gogits | Gogs | through 0.5.5 Versions 0.3.1-9, 0.4.1, 0.4.2, 0.5.0, 0.5.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://gogs.io/docs/intro/change_log.html
- http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html
- http://seclists.org/fulldisclosure/2014/Nov/33
- http://www.exploit-db.com/exploits/35238
- http://www.securityfocus.com/archive/1/533995/100/0/threaded
- http://www.securityfocus.com/bid/71187
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98694
- https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d
- https://github.com/advisories/GHSA-g6xv-8q23-w2q3
- https://nvd.nist.gov/vuln/detail/CVE-2014-8682
- https://github.com/gogits/gogs/releases/tag/v0.5.8
- https://www.exploit-db.com/exploits/35238
- http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html
- http://seclists.org/fulldisclosure/2014/Nov/31