PT-2014-8681

CVE-2014-8681

·

Published

2014-11-21

·

Updated

2021-06-29

Description by

CVSS 2.0
7.5
High
MetricsAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Gogs (aka Go Git Service) versions 0.3.1-9 through 0.5.6.x
Description The issue is related to a SQL injection vulnerability. It allows remote attackers to execute arbitrary SQL commands via the label parameter to user/repos/issues. The vulnerability is due to improper sanitization of user input, making certain methods vulnerable to SQL injection if used with unsanitized user input.
Recommendations For Gogs (aka Go Git Service) versions 0.3.1-9 through 0.5.6.x, update to version 0.5.6.1025 Beta or later to resolve the issue. As a temporary workaround, consider sanitizing user input before passing it to vulnerable methods, such as the GetIssues function in models/issue.go. Restrict access to the label parameter in the user/repos/issues endpoint to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-MR6H-CHQP-P9G2
GO-2020-0021
Found an issue in the description? Have something to add? Feel free to write us 👾