Important: New Information about cPanel & WHM 11.30, 11.32, and 11.34 Updates Now Available
cPanel & WHM 22.214.171.124; 126.96.36.199; 188.8.131.52, which fixes multiple security issues, is now available for download.
cPanel has rated these updates as having important security impact. Information on security ratings is available at http://go.cpanel.net/securitylevels.
The Perl Storable module provides support for serialization and deserialization of Perl data structures. In cPanel & WHM this functionality is used for caching data to disk and transferring data between processes. In many areas this caching and interprocess communication crosses privilege separation boundaries. A local malicious user could use this behavior to inject code into serialized data structures, thus allowing for code execution and possibility of privilege escalation.
The Perl YAML::Syck module provides similar functionality as the Storable module. The version of YAML::Syck used in previous releases of cPanel & WHM allowed serialized data to be blessed into arbitrary packages as it was deserialized. This could be leveraged to perform unsafe actions in object destructors.
The version of Locale::Maketext used in previous releases of cPanel & WHM suffered from two flaws in the _compile() function which allowed authenticated users to execute arbitrary code by supplying specially crafted translatable phrases.
cPanel & WHM relies on the Crypt::Passwd::XS Perl module to perform password hashing. This module suffers from the same vulnerability disclosed in CVE-2012-2143 where passwords with the 0×80 character are truncated when hashed using the DES crypt algorithm. cPanel & WHM systems are configured by default to use the stronger MD5 and SHA512 crypt password hashing algorithms.
The version of Cpanel::Locale used in previous releases of cPanel & WHM included two date formatting functions that passed unsanitized user input to a subprocess shell. An authenticated attacker could use this functionality to execute arbitrary shell commands on the local system bypassing normal restrictions on local code execution.
These issues were discovered by various members of the Development and Quality Assurance teams at cPanel.
We recommend updating your cPanel & WHM system as follows;
Update cPanel & WHM 11.30 to 184.108.40.206 or newer.
Update cPanel & WHM 11.32 to 220.127.116.11 or newer.
Update cPanel & WHM 11.34 to 18.104.22.168 or newer.
To check which version of cPanel you have, go to http://docs.cpanel.net/twiki/bin/view/AllDocumentation/MyVersion
A full listing of published versions can always be found at http://httpupdate.cpanel.net/.
Case 59926 Multiple privilege escalation vulnerabilities due to the use of Storable for serialization http://cpanel.net/case-59926/
Case 60203 Password hashes truncated by 0×80 characters
Case 60970 Privilege escalation vulnerabilities due to the use of YAML::Syck for serialization
Case 61251 Arbitrary code execution via translatable phrases due to the use of Locale::Maketext
Case 62230 Shell code injection via translatable phrases in Cpanel::Locale http://cpanel.net/case-62230/