CVEvulnerability
CVE-2016-3957
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2018-02-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 9.8 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-502
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.
Affected configurations
• web2py web2py (< 2.14.2)
Related
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
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#L200 Third Party Advisory
- https://usn.ubuntu.com/4030-1/ usn.ubuntu.com
- 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/ usn.ubuntu.com