Your message dated Thu, 7 Dec 2006 16:57:35 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug is not fixable
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
tags 402010 + wontfix
thanks

This problem is inherited by the way apache/php handles scripts/permissions.
Either disable mod_user [1], or use PHP's safe mode [2] in order to lock down
your system.

From the gosa point of view, this problem can not be fixed - even not by
changing the way gosa authenticates to the LDAP.

---
[1] 
http://www.debian.org/doc/manuals/securing-debian-howto/ch-sec-services.en.html#s5.8
[2] 
http://de.php.net/manual/en/features.safe-mode.php#features.safe-mode.functions

--- End Message ---

Reply via email to