Hello end user! Just FYI, the admin password to this database is: xyz
February 16, 2009 11:34 AM
Subscribe
What might cause a SQLOLEDB connection string (containing an admin username/password) to briefly appear on-screen in a browser session and would I be crazy to buy a product that's had this bug for who knows how long without realizing it?
I'm evaluating an expensive, best-of-breed piece of software (seriously, you'd be shocked! shocked! to hear who it is) with a major web-based component...when end users log in, there's a brief flicker on-screen wherein the full database connection string is visible, in all its MSSQL-authentication-password-in-clear-text (with db_owner privileges) glory.
Apparently this has gone unnoticed for quite some time and the company has reproduced the issue (they see the brief flickering of text), but can't figure out what's causing it, and is trying to enlist my help in resolving it by WebExing into my machine (even though they can reproduce it from their environment).
Their current challenge is that they can't press the printscreen key at the right moment to actually capture the text and verify that the problem is in fact real, which took me all of one minute to figure out (I guess you need the rhythm of an improvisational keyboard player or somethin').
The web component is mostly built in ASP Classic, mostly VB, though I'm seeing some JScript here and there. I'd rather not dig through all of their code myself, which is not my responsibility, but I thought this would be a good question for the Hive Mind to chew on -- what could cause this, and should I be doing business with this company?
I'm also put off by using a db_owner account for simple end user activity, and the lack of Windows authentication (from a SQL standpoint -- the app does support Windows authentication for logging in), though it seems way-too-many off-the-shelf-products tend to do this, and in our pursuit for software built on best practices, we are constantly disappointed and our options are always so narrow.
I'm pretty familiar with ASP but not so much with JScript. I could see how a developer would Response.Write a connection string for debugging purposes, but can't imagine how this would go unnoticed for so long in a major commercial application.
Can you think of any other trigger that would cause the connection string to appear, other than the developer specifically saying "print the damn thing on-screen?"
More specifically, what appears on-screen is:
$DOMAIN\Username$ [populated with real information, of course]
SQLOLEDB Connection String
C:\Program Files\Path\To\Application\Server\Folder
Sure looks like debug code, eh?
posted by aydeejones to computers & internet (8 comments total)
And no, I wouldn't use a piece of software like that until I knew damn well where it came from.
posted by fatbird at 11:44 AM on February 16