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
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.049, 92.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- sj/web2py-e94946d-CVE-2016-3957 (last pushed 2018-12-19): web2py/web2py @ e94946d
References
- devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/ (Technical Description, Exploit, Third Party Advisory)
- github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py (Third Party Advisory)
- USN-4030-1 (vendor-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.