PT-2019-20001 · Squel · Squel
Publicado
2019-06-14
·
Atualizado
2019-06-14
Nenhuma
Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
Name of the Vulnerable Software and Affected Versions
squel versions (affected versions not specified)
Description
The issue concerns sql injection due to improper escaping of user-provided input when using the
setFields method. This could lead to sql injection if the query was then executed. A proof of concept demonstrates the injection of a single quote into a generated sql statement from user-provided input, such as foo: "bar'baz" in the /api endpoint like squel.insert().into('buh').setFields({foo: "bar'baz"}).toString(), resulting in INSERT INTO buh (foo) VALUES ('bar'baz').Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
SQL injection
Special Elements Injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Squel