Headline
CVE-2022-29376: Vuln/Xampp-Install-Dir-Incorrect-Default-Permission.md at main · ycdxsb/Vuln
Xampp for Windows v8.1.4 and below was discovered to contain insecure permissions for its install directory, allowing attackers to execute arbitrary code via overwriting binaries located in the directory.
weak permission of xampp default install dir****Basic Info
Description:The default install dir of xampp is C:\xampp, howerver, the permission of C:\xampp is inherited from C:, so all Users in Authenticated Users group have write permission of C:\xampp and files in it.
Vuln Type: CWE-276
Vuln influence: arbitrary code execution
Software Name: xampp, https://www.apachefriends.org/download.html
Vuln Version: XAMPP for Windows 7.4.28, 8.0.17 & 8.1.4 and before.
Vuln analyse
The default install dir of xampp is C:\xampp
howerver, the permission of C:\xampp is inherited from C:, so all Users in Authenticated Users group have write permission of C:\xampp and files in it.
So an attacker with low privilege can hijack binary like xampp_start.exe to execute arbitrary code when administrator or other users use xampp.