SQL Injection in Gogits Gogs
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 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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.334 (98.3th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.334 · newest: 0.334 · change: 0.000
Affected products
- Gogits Gogs — versions 0.3.1-9, 0.4.1, 0.4.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.exploit-db.com/exploits/35238 (Exploit, exploit)
- exchange.xforce.ibmcloud.com/vulnerabilities/98694 (vdb-entry)
- packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html (Exploit)
- seclists.org/fulldisclosure/2014/Nov/33 (mailing-list, Exploit)
- gogs.io/docs/intro/change_log.html
- www.securityfocus.com/archive/1/533995/100/0/threaded (mailing-list)
- www.securityfocus.com/bid/71187 (Exploit, vdb-entry)
- github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d (Exploit)
Frequently asked questions
- What is CVE-2014-8682?
- CVE-2014-8682 is a vulnerability in Gogits Gogs, classified under SQL Injection. Published 2014-11-21.
- Is CVE-2014-8682 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.