Description
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.
Metrics
CVSS 3.0 9.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- 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#L200Third Party Advisory
- https://usn.ubuntu.com/4030-1/
- 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#L200Third Party Advisory
- https://usn.ubuntu.com/4030-1/
Timeline
- Published
- Feb 6, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified