The secure_load function in gluon/utils.py in web2py before 2.14.2 uses pickle.loads to deserialize session information stored in cookies, which might allow remote attackers to execute arbitrary code by leveraging knowledge of encryption_key.
References
Link | Resource |
---|---|
https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/ | Exploit Technical Description Third Party Advisory |
https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200 | Third Party Advisory |
https://usn.ubuntu.com/4030-1/ |
Configurations
History
No history.
Information
Published : 2018-02-06 18:29
Updated : 2024-02-28 16:25
NVD link : CVE-2016-3957
Mitre link : CVE-2016-3957
CVE.ORG link : CVE-2016-3957
JSON object : View
Products Affected
web2py
- web2py
CWE
CWE-502
Deserialization of Untrusted Data