GLSA 201110-23: Apache mod_authnz_external: SQL injection

Severity:low
Title:Apache mod_authnz_external: SQL injection
Date:10/25/2011
Bugs: #386165
ID:201110-23

Synopsis

An input sanitation flaw in mod_authnz_external allows remote attacker to conduct SQL injection.

Background

mod_authnz_external is a tool for creating custom authentication backends for HTTP basic authentication.

Affected packages

Package Vulnerable Unaffected Architecture(s)
www-apache/mod_authnz_external < 3.2.6 >= 3.2.6 All supported architectures

Description

mysql/mysql-auth.pl in mod_authnz_external does not properly sanitize input before using it in an SQL query.

Impact

A remote attacker could exploit this vulnerability to inject arbitrary SQL statements by using a specially crafted username for HTTP authentication on a site using mod_authnz_external.

Workaround

There is no known workaround at this time.

Resolution

All Apache mod_authnz_external users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose
      ">=www-apache/mod_authnz_external-3.2.6"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201110-23.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!