Python Software Foundation CPython up to 3.6.4 on Windows os.symlink Symlink memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.3 | $0-$5k | 0.00 |
A vulnerability classified as critical was found in Python Software Foundation CPython up to 3.6.4 on Windows (Programming Language Software). Affected by this vulnerability is the function os.symlink
. The manipulation as part of a Symlink leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
Python Software Foundation CPython version From 3.2 until 3.6.4 on Windows contains a Buffer Overflow vulnerability in os.symlink() function on Windows that can result in Arbitrary code execution, likely escalation of privilege. This attack appears to be exploitable via a python script that creates a symlink with an attacker controlled name or location. This vulnerability appears to have been fixed in 3.7.0 and 3.6.5.
The bug was discovered 03/07/2018. The weakness was published 03/07/2018 (Website). It is possible to read the advisory at bugs.python.org. This vulnerability is known as CVE-2018-1000117 since 03/07/2018. The exploitation appears to be easy. Attacking locally is a requirement. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 111297 (Photon OS 2.0 : Zsh / Python3 / Xerces / Mercurial / Pmd / Pycrypto / Net / Python2 / Util / Mysql / Paramiko / Binutils / Patch / Sqlite (PhotonOS-PHSA-2018-2.0-0037) (deprecated)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family PhotonOS Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 371122 (Python Multiple Versions Buffer Overflow vulnerability).
Upgrading to version 3.6.5 or 3.7.0 eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (111297). Similar entry is available at VDB-112097.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 4.2
VulDB Temp Score: 4.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.7
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 111297
Nessus Name: Photon OS 2.0 : Zsh / Python3 / Xerces / Mercurial / Pmd / Pycrypto / Net / Python2 / Util / Mysql / Paramiko / Binutils / Patch / Sqlite (PhotonOS-PHSA-2018-2.0-0037) (deprecated)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: CPython 3.6.5/3.7.0
Patch: github.com
Timeline
03/07/2018 🔍03/07/2018 🔍
03/07/2018 🔍
03/07/2018 🔍
03/08/2018 🔍
04/23/2018 🔍
07/24/2018 🔍
02/17/2023 🔍
Sources
Advisory: bugs.python.orgStatus: Not defined
Confirmation: 🔍
CVE: CVE-2018-1000117 (🔍)
OVAL: 🔍
SecurityFocus: 102678
See also: 🔍
Entry
Created: 03/08/2018 07:49Updated: 02/17/2023 09:57
Changes: 03/08/2018 07:49 (67), 01/11/2020 09:43 (8), 02/17/2023 09:52 (4), 02/17/2023 09:57 (1)
Complete: 🔍
Cache ID: 18:FD9:103
No comments yet. Languages: en.
Please log in to comment.