CVE-2014-8682

NUCLEI

Gogs 0.3.1-0.5.x - SQL Injection via Search API q Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2014-8682. PoCs published by Timo Schmid, nihal1306. A Nuclei detection template is also available.

AI-analyzed exploit summary This is a detailed technical writeup describing an unauthenticated SQL injection vulnerability in Gogs (CVE-2014-8682). It includes vulnerable code sections, proof-of-concept payloads, and a patch analysis.

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.

Exploits (2)

exploitdb WRITEUP
by Timo Schmid · textwebappsmultiple
https://www.exploit-db.com/exploits/35238

This is a detailed technical writeup describing an unauthenticated SQL injection vulnerability in Gogs (CVE-2014-8682). It includes vulnerable code sections, proof-of-concept payloads, and a patch analysis.

Classification
Writeup 100%
Attack Type
Sqli
Complexity
Moderate
Reliability
Reliable
Target: Gogs (Go Git Service) versions >= v0.3.1-9-g49dc57e and <= v0.5.6.1104-g0c5ba45
No auth needed
Prerequisites: Network access to the Gogs API endpoint
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WRITEUP
by nihal1306 · poc
https://github.com/nihal1306/gogs

This repository contains a detailed setup guide for Gogs (Go Git Service) and does not include any exploit code or proof-of-concept for CVE-2024-8682. It provides instructions for installing and configuring Gogs, MySQL, Go, and Nginx.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Gogs (Go Git Service)
No auth needed
Prerequisites: SEED Ubuntu 16.04 VM · MySQL server · Go programming language · Nginx
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

Gogs (Go Git Service) - SQL Injection
HIGHby dhiyaneshDK,daffainfo
Shodan: title:"Sign In - Gogs" || http.title:"sign in - gogs" || cpe:"cpe:2.3:a:gogs:gogs"
FOFA: title="sign in - gogs"

References (8)

Core 8
Core References
Exploit exploit x_refsource_exploit-db
http://www.exploit-db.com/exploits/35238
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/98694
Exploit mailing-list x_refsource_fulldisc
http://seclists.org/fulldisclosure/2014/Nov/33
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/533995/100/0/threaded
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/71187
Various Sources x_refsource_confirm
http://gogs.io/docs/intro/change_log.html

Scores

EPSS 0.7689
EPSS Percentile 99.0%

Details

CWE
CWE-89
Status published
Products (7)
gogits/gogs 0.3.1-9
gogits/gogs 0.4.1
gogits/gogs 0.4.2
gogits/gogs 0.5.0
gogits/gogs 0.5.2
gogits/gogs < 0.5.5
gogs.io/gogs 0.3.1 - 0.5.8Go
Published Nov 21, 2014
Tracked Since Feb 18, 2026