[Pkg-freeipa-devel] Bug#915642: AuthBasicProvider PAM crashes apache

Christoph Berg christoph.berg at credativ.de
Wed Dec 5 13:49:05 GMT 2018


Package: libapache2-mod-authnz-pam
Version: 1.2.0-1
Severity: grave

Hi,

we were using libapache2-mod-authnz-pam for apache2 basic
authentication in the elephant-shed.io project, but some time ago,
apache2 started crashing when it is used. (Could be related to the
1.2.0-1 upload, not sure.)

I can reproduce it with this /etc/apache2/sites-enabled/default.conf:

<VirtualHost *:80>
	# The ServerName directive sets the request scheme, hostname and port that
	# the server uses to identify itself. This is used when creating
	# redirection URLs. In the context of virtual hosts, the ServerName
	# specifies what hostname must appear in the request's Host: header to
	# match this virtual host. For the default virtual host (this file) this
	# value is not decisive as it is used as a last resort host regardless.
	# However, you must set it for any further virtual host explicitly.
	#ServerName www.example.com

	ServerAdmin webmaster at localhost
	DocumentRoot /var/www/html

	# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
	# error, crit, alert, emerg.
	# It is also possible to configure the loglevel for particular
	# modules, e.g.
	#LogLevel info ssl:warn

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

	# For most configuration files from conf-available/, which are
	# enabled or disabled at a global level, it is possible to
	# include a line for only one particular virtual host. For example the
	# following line enables the CGI configuration for this host only
	# after it has been globally disabled with "a2disconf".
	#Include conf-available/serve-cgi-bin.conf

	<Location />
	AuthType Basic
	AuthName "PAM Authentication"
	AuthBasicProvider PAM
	</Location>

</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de:en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libapache2-mod-authnz-pam depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.37-1
ii  libc6                               2.27-8
ii  libpam0g                            1.1.8-3.8

libapache2-mod-authnz-pam recommends no packages.

libapache2-mod-authnz-pam suggests no packages.

-- no debconf information

Christoph



More information about the Pkg-freeipa-devel mailing list