Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-45305: Vuln/python3-weak-permission-vuln.md at main · ycdxsb/Vuln

Insecure permissions in Chocolatey Python3 package v3.11.0 and below grants all users in the Authenticated Users group write privileges for the subfolder C:\Python311 and all files located in that folder.

CVE
#web#windows#auth

Incorrect default permission of python3 if installed by chocolatey****Basic Info

Description:If we use chocolaty to install python3 in windows System.The default install dir of python3 is C:\python311 , howerver, the permission of C:\Python311 is inherited from C:, so all Users in Authenticated Users group have write permission of subfolder of C:\Python311 and files in it.

Vuln Type: CWE-276

Website:https://community.chocolatey.org/packages/python3

Install Command : choco install python3 --version=3.11.0

Vuln Version: python3 3.11.0 and below

Vuln Analyse

  • Use chocolatey to install python3 in Windows system

  • We can see that All Users in Authenticated Users group have write permission of subfolder of C:\Python311 (example : C:\Python311\libs and C:\Python311\DLLs) and files in it.

So an attacker with low privilege can hijack binary like C:\Python311\python.exe to execute arbitrary code when administrator or other users use python3 installed by chocolatey.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907