cve/2014/CVE-2014-8682.md
2024-06-18 02:51:15 +02:00

21 lines
993 B
Markdown

### [CVE-2014-8682](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-8682)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html
- http://seclists.org/fulldisclosure/2014/Nov/33
- http://www.exploit-db.com/exploits/35238
#### Github
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/nihal1306/gogs