Description
An issue was discovered in switchGroup() in agent/ExecHelper/ExecHelperMain.cpp in Phusion Passenger before 5.3.2. The set of groups (gidset) is not set correctly, leaving it up to randomness (i.e., uninitialized memory) which supplementary groups are actually being set while lowering privileges.
Remediation
References
Related Vulnerabilities
Piwigo Exposure of Resource to Wrong Sphere Vulnerability (CVE-2022-26267)
WordPress Plugin WooCommerce Checkout Manager Arbitrary File Upload (4.2.6)
MySQL Permissions, Privileges, and Access Controls Vulnerability (CVE-2012-4452)
WordPress Plugin FV Flowplayer Video Player Cross-Site Request Forgery (7.5.30.7210)