Vulnerability Details : CVE-2014-8682
Potential exploit
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 category: Sql Injection
Products affected by CVE-2014-8682
- cpe:2.3:a:gogits:gogs:*:*:*:*:*:*:*:*
- cpe:2.3:a:gogits:gogs:0.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:gogits:gogs:0.4.2:*:*:*:*:*:*:*
- cpe:2.3:a:gogits:gogs:0.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:gogits:gogs:0.5.2:*:*:*:*:*:*:*
- cpe:2.3:a:gogits:gogs:0.3.1-9:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2014-8682
0.46%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 75 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2014-8682
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
CWE ids for CVE-2014-8682
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2014-8682
-
http://www.exploit-db.com/exploits/35238
Gogs - 'users'/'repos' '?q' SQL Injection - Multiple webapps ExploitExploit
-
https://exchange.xforce.ibmcloud.com/vulnerabilities/98694
Vulnerability Report
-
http://seclists.org/fulldisclosure/2014/Nov/33
Full Disclosure: CVE-2014-8682 Multiple Unauthenticated SQL Injections in GogsExploit
-
http://www.securityfocus.com/archive/1/533995/100/0/threaded
SecurityFocus
-
http://gogs.io/docs/intro/change_log.html
Changelog - Gogs
-
http://www.securityfocus.com/bid/71187
Gogs CVE-2014-8682 Multiple SQL Injection VulnerabilitiesExploit
-
https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d
fix session API broken and SQL pretection · gogs/gogs@0c5ba45 · GitHubExploit
-
http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html
Gogs Repository Search SQL Injection ≈ Packet StormExploit
Jump to