{"id":"CVE-2016-3957","sourceIdentifier":"cve@mitre.org","published":"2018-02-06T18:29:00.400","lastModified":"2026-06-17T00:46:38.307","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"La función secure_load en gluon/utils.py en web2py, en versiones anteriores a la 2.14.2, emplea pickle.loads para deserializar información de sesión almacenada en cookies. Esto podría permitir que atacantes remotos ejecuten código arbitrario aprovechando el conocimiento de encryption_key."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-502"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:web2py:web2py:*:*:*:*:*:*:*:*","versionEndExcluding":"2.14.2","matchCriteriaId":"AFE64C05-496E-4D7D-A659-5F376D249FAC"}]}]}],"references":[{"url":"https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/","source":"cve@mitre.org","tags":["Exploit","Technical Description","Third Party Advisory"]},{"url":"https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4030-1/","source":"cve@mitre.org"},{"url":"https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Technical Description","Third Party Advisory"]},{"url":"https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4030-1/","source":"af854a3a-2127-422b-91ae-364da2661108"}]}