{"id":"CVE-2014-8682","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2014-11-21T15:00:00.000Z","updatedAt":"2024-08-06T13:26:02.264Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.exploit-db.com/exploits/35238","https://exchange.xforce.ibmcloud.com/vulnerabilities/98694","http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html","http://seclists.org/fulldisclosure/2014/Nov/33","http://gogs.io/docs/intro/change_log.html","http://www.securityfocus.com/archive/1/533995/100/0/threaded","http://www.securityfocus.com/bid/71187","https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d"],"weaknesses":[],"ingestedAt":"2026-10-29T19:41:40.883Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2014/8xxx/CVE-2014-8682.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2014-8682","state":"PUBLISHED","datePublished":"2014-11-21T15:00:00.000Z","dateUpdated":"2024-08-06T13:26:02.264Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2014-11-07T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.exploit-db.com/exploits/35238","name":"35238","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/98694","name":"gogs-cve20148682-sql-injection(98694)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html","tags":["x_refsource_MISC"]},{"url":"http://seclists.org/fulldisclosure/2014/Nov/33","name":"20141114 CVE-2014-8682 Multiple Unauthenticated SQL Injections in Gogs","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://gogs.io/docs/intro/change_log.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/archive/1/533995/100/0/threaded","name":"20141114 CVE-2014-8682 Multiple Unauthenticated SQL Injections in Gogs","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/bid/71187","name":"71187","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-09T18:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2014-11-14T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2014-8682","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"35238","refsource":"EXPLOIT-DB","url":"http://www.exploit-db.com/exploits/35238"},{"name":"gogs-cve20148682-sql-injection(98694)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/98694"},{"name":"http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html"},{"name":"20141114 CVE-2014-8682 Multiple Unauthenticated SQL Injections in Gogs","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2014/Nov/33"},{"name":"http://gogs.io/docs/intro/change_log.html","refsource":"CONFIRM","url":"http://gogs.io/docs/intro/change_log.html"},{"name":"20141114 CVE-2014-8682 Multiple Unauthenticated SQL Injections in Gogs","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/533995/100/0/threaded"},{"name":"71187","refsource":"BID","url":"http://www.securityfocus.com/bid/71187"},{"name":"https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d","refsource":"CONFIRM","url":"https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.exploit-db.com/exploits/35238","name":"35238","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/98694","name":"gogs-cve20148682-sql-injection(98694)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2014/Nov/33","name":"20141114 CVE-2014-8682 Multiple Unauthenticated SQL Injections in Gogs","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://gogs.io/docs/intro/change_log.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/533995/100/0/threaded","name":"20141114 CVE-2014-8682 Multiple Unauthenticated SQL Injections in Gogs","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.securityfocus.com/bid/71187","name":"71187","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T13:26:02.264Z"}}]}}}