PT-2018-4911 · Web2Py+1 · Web2Py+1
Shaolin
·
Publicado
2018-02-06
·
Atualizado
2022-05-14
·
CVE-2016-3957
CVSS v2.0
7.5
Alta
| Vetor | AV:N/AC:L/Au:N/C:P/I:P/A:P |
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.Exploit
Correção
RCE
Deserialization of Untrusted Data
Using Hardcoded Credentials
Information Disclosure
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Ubuntu
Web2Py