5 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] No authentication for...
FromSent OnAttachments
matt...@gmail.comApr 5, 2007 8:18 am 
Sam VarshavchikApr 5, 2007 3:48 pm 
Matt CornellApr 6, 2007 5:48 am 
Sam VarshavchikApr 6, 2007 6:41 am 
Matt CornellApr 6, 2007 7:36 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [sqwebmail] No authentication for email account with single quote in itActions...
From:Matt Cornell (matt@gmail.com)
Date:Apr 6, 2007 7:36:28 am
List:net.sourceforge.lists.courier-sqwebmail

On 4/6/07, Sam Varshavchik <mrs@courier-mta.com> wrote:

Matt Cornell writes:

Now; 'there is an arbitrary filter that has nothing to do with authentication and violates RFC2822 ' would be much more informative. Or

Even more informative would be "an arbitrary filter that prevents lame SQL injection attacks".

There you go! This had the chance of being unintentionally helpful. It hadn't occurred to me that it could be a feature to protect against an injection exploit.

In the interest of giving this a cursory thought I remember that In the elusive details of my first email I had mentioned that the authentication module part of the exchange worked as it should... which means that the part that interacts with SQL already washes it's input correctly.

Which brings us back to the 'arbitrary' part of the above statement. Since it obviously doesn't prohibit the sql query from happening at least once in order to authenticate then it's some whimsically protection. Shouldn't anything related to sql just be the responsibility of the authentication module. Sqwebmail should only need to know "Is this a valid user?" and "Where are the files?". I guess there could be a problem at the filesystem level if username value wasn't interpreted correctly or something.

Thanks again for taking the time to respond.