<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/pam-pgsql/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/pam-pgsql/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 27 Sep 2014 20:51:14 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pam-pgsql/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#12 md5_postgres does not include 'md5' prefix on hash</title><link>https://sourceforge.net/p/pam-pgsql/bugs/12/?limit=25#3006</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;add Debian patch for this issue&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Dittberner</dc:creator><pubDate>Sat, 27 Sep 2014 20:51:14 -0000</pubDate><guid>https://sourceforge.nete084dbd3275a96ad8163545f1fdd95b83a408b0c</guid></item><item><title>#13 It is possible to login with any password if query's password is null.</title><link>https://sourceforge.net/p/pam-pgsql/bugs/13/?limit=25#7406</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;labels&lt;/strong&gt;:  --&amp;gt; patch&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Dittberner</dc:creator><pubDate>Sat, 27 Sep 2014 20:48:56 -0000</pubDate><guid>https://sourceforge.netd80336964da2e62c04a8ba3121bcb801ac3d853d</guid></item><item><title>#13 It is possible to login with any password if query's password is null.</title><link>https://sourceforge.net/p/pam-pgsql/bugs/13/?limit=25#2135</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;attached the Debian patch for this issue&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jan Dittberner</dc:creator><pubDate>Sat, 27 Sep 2014 20:48:01 -0000</pubDate><guid>https://sourceforge.netb9d104789adf1fb7edf8543dd63837c0ac609cf0</guid></item><item><title>It is possible to login with any password if query's password is null.</title><link>https://sourceforge.net/p/pam-pgsql/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If the "pw_type" is crypt-based and the password field returned by the query is null, user is able to authenticate with any password. It is true that crypt("anything", ""); is always "", so if the crypted password is an empty string, this is (arguably) the correct behavior, but since it sounds very bad, pam_unix needs explicitly the nullok flag.&lt;/p&gt;
&lt;p&gt;But the issue here is even worse: when crypt is used, pam_pgsql authenticates with any password both when the field is an empty string (arguably reasonable) and when it is null. This latter seems very bad, because no output from crypt represents a null password (although this concept is absent in original Unix).&lt;/p&gt;
&lt;p&gt;In my opinion, a null password should be treated the same as no result, and should always fail.&lt;/p&gt;
&lt;p&gt;A workaround is to use a query that never returns null, like:&lt;br /&gt;
SELECT COALESCE(password, '§§INVALID') FROM auth_table;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Clemente Vella</dc:creator><pubDate>Tue, 15 Jan 2013 14:02:45 -0000</pubDate><guid>https://sourceforge.net66ff8264b1f482de2ea91b096f44fcf0aa95a20a</guid></item><item><title>It is possible to login with any password if query's password is null.</title><link>https://sourceforge.net/p/pam-pgsql/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 13 has been modified: It is possible to login with any password if query's password is null.&lt;br /&gt;
Edited By: Jan Dittberner (jandd)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucas Clemente Vella</dc:creator><pubDate>Tue, 15 Jan 2013 14:02:45 -0000</pubDate><guid>https://sourceforge.netdaa439ad18a246dfdf55b1e110beea4aa6c4c648</guid></item><item><title/><link>https://sourceforge.net/p/pam-pgsql/bugs/12/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deryl R. Doucette</dc:creator><pubDate>Fri, 14 Sep 2012 18:07:57 -0000</pubDate><guid>https://sourceforge.net63b3604119927674093c51240dd9430ec0162bdd</guid></item><item><title/><link>https://sourceforge.net/p/pam-pgsql/bugs/11/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deryl R. Doucette</dc:creator><pubDate>Fri, 14 Sep 2012 18:07:55 -0000</pubDate><guid>https://sourceforge.net0a48232118bbf95cf0fbc8ee0f3b236120a3e010</guid></item><item><title/><link>https://sourceforge.net/p/pam-pgsql/bugs/10/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deryl R. Doucette</dc:creator><pubDate>Fri, 14 Sep 2012 18:07:54 -0000</pubDate><guid>https://sourceforge.net1e4f683485d738bcf2852ca88786f47dbd1e317a</guid></item><item><title/><link>https://sourceforge.net/p/pam-pgsql/bugs/9/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deryl R. Doucette</dc:creator><pubDate>Fri, 14 Sep 2012 18:07:54 -0000</pubDate><guid>https://sourceforge.netbed5ee3c6228807ff83fd1b6c60080a9e51b10d8</guid></item><item><title/><link>https://sourceforge.net/p/pam-pgsql/bugs/8/</link><description/><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Deryl R. Doucette</dc:creator><pubDate>Fri, 14 Sep 2012 18:07:54 -0000</pubDate><guid>https://sourceforge.net464c3171b6841596bc892498265d7181ef79e4a2</guid></item></channel></rss>