GitHub Advisoryadvisory · Go
GHSA-g6xv-8q23-w2q3 SQL Injection in Gogs
HIGH
Official page ↗
- Aliases
- CVE-2014-8682
- Ecosystem
- Go
- Packages
- gogs.io/gogs
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-89
- Reviewed
- 2021-05-20
Affected packages
• Go gogs.io/gogs: >= 0.3.1, < 0.5.8 → fixed in 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.
Related
Alias · CVE (1)
- CVE-2014-8682 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… vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-8682 advisory
- https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d web
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98694 web
- https://github.com/gogits/gogs/releases/tag/v0.5.8 web
- https://www.exploit-db.com/exploits/35238 web
- http://gogs.io/docs/intro/change_log.html web
- http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html web
- http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html web
- http://seclists.org/fulldisclosure/2014/Nov/31 web
- http://seclists.org/fulldisclosure/2014/Nov/33 web
- http://www.exploit-db.com/exploits/35238 web
- http://www.securityfocus.com/archive/1/533995/100/0/threaded web
- http://www.securityfocus.com/bid/71187 web