Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gogits | Gogs | <= 0.5.5 |
Related Weaknesses (CWE)
References
- http://gogs.io/docs/intro/change_log.html
- http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-InjectionExploit
- http://seclists.org/fulldisclosure/2014/Nov/33Exploit
- http://www.exploit-db.com/exploits/35238Exploit
- http://www.securityfocus.com/archive/1/533995/100/0/threaded
- http://www.securityfocus.com/bid/71187Exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98694
- https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8dExploit
- http://gogs.io/docs/intro/change_log.html
- http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-InjectionExploit
- http://seclists.org/fulldisclosure/2014/Nov/33Exploit
- http://www.exploit-db.com/exploits/35238Exploit
- http://www.securityfocus.com/archive/1/533995/100/0/threaded
- http://www.securityfocus.com/bid/71187Exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98694
FAQ
What is CVE-2014-8682?
CVE-2014-8682 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2014-8682?
CVE-2014-8682 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2014-8682?
Check the references section above for vendor advisories and patch information. Affected products include: Gogits Gogs.