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://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200 | Third Party Advisory |
https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/ | Exploit Technical Description Third Party Advisory |
https://usn.ubuntu.com/4030-1/ |
Configurations
Information
Published : 2018-02-06 10:29
Updated : 2019-06-21 15:15
NVD link : CVE-2016-3957
Mitre link : CVE-2016-3957
JSON object : View
CWE
CWE-502
Deserialization of Untrusted Data
Products Affected
web2py
- web2py