[Full-Disclosure] cPanel hardlink chown issue
appelast at drumnbass.art.pl
Mon Oct 18 10:51:02 BST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Vendor URL: http://www.cpanel.net
Author: Karol Więsek <appelast at drumnbass.art.pl>
Date: July 31, 2004
cPanel allows logged in users to change ownership of any file to their
cPanel is a next generation web hosting control panel system. cPanel is
extremely feature rich as well as include an easy to use web based
interface (GUI). cPanel is designed for the end users of your system and
allows them to control everything from adding / removing email accounts
to administering MySQL databases.
cPanel allows users to turn on/off front fage extensions. It is done
with effective uid of system administrator ( root ). During this process
is created special .htaccess file, and then it is chown() to target
user. Attacker could link .htaccess to any file in the same partition,
thus it will be chown()ed.
To exploit this vulnerability just link file you want to grab to
.htaccess in users public_html, and execute installation of frontpage
Tested on cPanel 9.4.1-RELEASE-64, and confirmed vulnerable.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Full-Disclosure is hosted and sponsored by Secunia.