CVE-2016-3957
CVSS V2 High 7.5
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2016-3957
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2018-02-06T18:29:00
- Last Modified Date
- 2019-06-21T22:15:10
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:web2py:web2py:*:*:*:*:*:*:*:* | 1 | OR | 2.14.2 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/web2py/web2py/blob/R-2.14.1/gluon/utils.py#L200 | Third Party Advisory |
https://devco.re/blog/2017/01/03/web2py-unserialize-code-execution-CVE-2016-3957/ | Exploit Technical Description Third Party Advisory |
https://usn.ubuntu.com/4030-1/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2016-3957 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3957 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:49:40 | Added to TrackCVE | |||
2022-12-03 01:48:27 | 2018-02-06T18:29Z | 2018-02-06T18:29:00 | CVE Published Date | updated |
2022-12-03 01:48:27 | 2019-06-21T22:15:10 | CVE Modified Date | updated | |
2022-12-03 01:48:27 | Modified | Vulnerability Status | updated |