-
- Downloads
Fix source code disclosure on case-insensitive file systems
If the file system containing the PHP code is case-insensitive, a request containing an uppercase file extension will return the contents of the PHP file to the browser instead of executing it. E.g. a request for this URL will return the source code: https:/sp.example.org/simplesaml/module.php/core/frontpage_welcome.PHP Fix that by converting the path to lowercase before checking the file extension. See the following page for details: https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-24m3-w8g9-jwpq
Please register or sign in to comment