PT-2016-4913 · Cgit · Cgit
Donenfeld
·
Publicado
2016-01-20
·
Atualizado
2024-06-15
·
CVE-2016-1900
CVSS v2.0
4.3
Média
| Vetor | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
CGit versions prior to 0.12
Description
The issue allows remote attackers with permission to write to a repository to inject arbitrary HTTP headers and conduct HTTP response splitting attacks or cross-site scripting (XSS) attacks via newline characters in a filename. This is due to a CRLF injection vulnerability in the cgit print http headers function in ui-shared.c.
Recommendations
For CGit versions prior to 0.12, update to version 0.12 or later to resolve the issue. As a temporary workaround, consider restricting write access to repositories to minimize the risk of exploitation. Avoid using newline characters in filenames until the issue is resolved.
Correção
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Cgit