Openwebmail in cPanel 5.0, when run using suid Perl, adds the directory in the SCRIPT_FILENAME environment variable to Perls @INC include array, which allows local users to execute arbitrary code by modifying SCRIPT_FILENAME to reference a directory containing a malicious openwebmail-shared.pl executable.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Cpanel | Cpanel | 5.0 (including) | 5.0 (including) |