PT-2018-4911
CVE-2016-3957
·
Publicado
2018-02-06
·
Atualizado
2026-07-06
Descrição por
CVSS 3.1
9.8
CríticaMétricasAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
web2py versions prior to 2.14.2
Description
The issue allows remote attackers to execute arbitrary code by leveraging knowledge of encryption key, potentially through deserialization of session information stored in cookies using the
pickle.loads function in gluon/utils.py. Additionally, the sample web application might allow remote attackers to execute arbitrary code via vectors involving use of a hardcoded encryption key when calling the session.connect function. It is also possible for remote attackers to obtain the session cookie key value via a direct request to "examples/simple examples/status", which can be leveraged to execute arbitrary code.Recommendations
For versions prior to 2.14.2, update to version 2.14.2 or later to resolve the issue.
As a temporary workaround, consider restricting access to the
session.connect function and the examples/simple examples/status endpoint until a patch is available.
Avoid using hardcoded encryption keys in the sample web application.Explorabilidade
Exploit
Correção
Impactos
Fornecedores
Produtos afetados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾