Deserialization in Web2py
CVE-2016-3957
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.
Vulnerability class: Insecure Deserialization
EPSS: 0.049 (91.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Web2py
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Technical Description, Exploit, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (x_refsource_UBUNTU, vendor-advisory)
Frequently asked questions
- What is CVE-2016-3957?
- CVE-2016-3957 is a critical-severity vulnerability in Web2py, classified under Deserialization of Untrusted Data. CVSS score: 9.8/10. Published 2018-02-06.
- How severe is CVE-2016-3957?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2016-3957 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.