CVE-2014-8682
SQL Injection in Gogs
Overview
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.
Source: OX vulnerability database
Severity
7.3 · HIGH
CVSS 3.1 base score, scored by GitHub.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness: CWE-89
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | gogs.io/gogs | >=0.3.1, <0.5.8 | 0.5.8 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- gogs.io http://gogs.io/docs/intro/change_log.html
- packetstormsecurity.com http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html
- packetstormsecurity.com http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html
- seclists.org http://seclists.org/fulldisclosure/2014/Nov/31
- seclists.org http://seclists.org/fulldisclosure/2014/Nov/33
- www.exploit-db.com http://www.exploit-db.com/exploits/35238
- www.securityfocus.com http://www.securityfocus.com/archive/1/533995/100/0/threaded
- www.securityfocus.com http://www.securityfocus.com/bid/71187
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/98694
- github.com https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.