Package: gosa Version: 2.5.6-2 Severity: critical Tags: security Justification: root security hole
The documentation in gosa tells the admin to install gosa.conf under /etc/gosa/gosa.conf, and to make it readable by the group www-data. In this configuration file, the ldap admin password is stored in cleartext. Any process running under the web process can now read that file, and if the same ldap users was used for authenticating , it would be rather easy to create a user with root access. this litle script placed under my ~/public_html/ revealed the password on my server <?php system ('cat /etc/gosa/gosa.conf') ; ?> -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (900, 'testing'), (800, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-686 Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8) Versions of packages gosa depends on: ii apache2-mpm-prefork 2.2.3-3.1 Traditional model for Apache HTTPD ii fping 2.4b2-to-ipv6-14 sends ICMP ECHO_REQUEST packets to ii libcrypt-smbhash-perl 0.12-1 generate LM/NT hash of a password ii php5 5.2.0-7 server-side, HTML-embedded scripti ii php5-gd 5.2.0-7 GD module for php5 ii php5-imagick 0.9.11+1-4.1 ImageMagick module for php5 ii php5-imap 5.2.0-7 IMAP module for php5 ii php5-ldap 5.2.0-7 LDAP module for php5 ii php5-mhash 5.2.0-7 MHASH module for php5 ii php5-mysql 5.2.0-7 MySQL module for php5 ii php5-recode 5.2.0-7 recode module for php5 ii postfix [mail-transport 2.3.4-2 A high-performance mail transport ii smarty 2.6.14-1 Template engine for PHP ii smarty-gettext 1.0b1-2 provides gettext support for smart ii wwwconfig-common 0.0.48 Debian web auto configuration gosa recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]