CVEvulnerability
CVE-2014-8682
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2014-11-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-89
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.
Affected configurations
• gogits gogs (<= 0.5.5)
• gogits gogs 0.3.1-9
• gogits gogs 0.4.1
• gogits gogs 0.4.2
• gogits gogs 0.5.0
• gogits gogs 0.5.2
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- http://gogs.io/docs/intro/change_log.html gogs.io
- http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html Exploit
- http://seclists.org/fulldisclosure/2014/Nov/33 Exploit
- http://www.exploit-db.com/exploits/35238 Exploit
- http://www.securityfocus.com/archive/1/533995/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/bid/71187 Exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98694 exchange.xforce.ibmcloud.com
- https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d Exploit
- http://gogs.io/docs/intro/change_log.html gogs.io
- http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html Exploit
- http://seclists.org/fulldisclosure/2014/Nov/33 Exploit
- http://www.exploit-db.com/exploits/35238 Exploit
- http://www.securityfocus.com/archive/1/533995/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/bid/71187 Exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98694 exchange.xforce.ibmcloud.com
- https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d Exploit