PT-2014-8681 · Go · Gogs

Pascal Turbing

+1

·

Publicado

2014-11-21

·

Atualizado

2021-06-29

·

CVE-2014-8681

CVSS v2.0

7.5

Alta

VetorAV: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.

Exploit

Correção

SQL injection

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2014-8681
GHSA-MR6H-CHQP-P9G2
GO-2020-0021

Produtos afetados

Gogs