Zen Cart Logo
Forums / General Questions / Contraol Scan Issues- don't allow certain user names like admin

Contraol Scan Issues- don't allow certain user names like admin

Views: 571

Results 1 to 3 of 3
26 Jun 2013, 10:59 PM
#1
shannda avatar

shannda

New Zenner

Join Date:
Dec 2005
Posts:
46
Plugin Contributions:
0

Contraol Scan Issues- don't allow certain user names like admin

Hello, My clients control scan won't pass because I need to not allow the use of "admin" as a user name. What can I do to add this so my client can pass. I'm so frustrated and want to get her to pass.

26 Jun 2013, 11:26 PM
#2
shannda avatar

shannda

New Zenner

Join Date:
Dec 2005
Posts:
46
Plugin Contributions:
0

Re: Contraol Scan Issues- don't allow certain user names like admin

Here is what Control Scan says I need to do.

This is what they are saying I have to fix in order to pass.

THREAT REFERENCE

Summary:
Blind SQL injection vulnerability in utm_source parameter to /cc-skye/

Risk: High (3)
Port: 80/tcp
Protocol: tcp
Threat ID: web_prog_sql_blind

Details: When a web application uses user-supplied input parameters
within SQL queries without first checking them for unexpected
characters, it becomes possible for an attacker to
manipulate the query. This type of attack is known as a
SQL injection attack.

For example, suppose a web program passes the following
query to the database application:

SELECT * FROM USERS WHERE USERNAME='$user' AND PASSWORD='$pass'

where $user and $pass are variables supplied by the user through a web form.
So if the user were to enter the name "admin" and the password "abc", the query would become:

SELECT * FROM USERS WHERE USERNAME='admin' AND PASSWORD='abc'

and the database would return any existing record where the username is "admin" and the password is "abc", thus authenticating
the user if the password "abc" is correct. Now suppose an attacker were to enter a malformed password such as the following:

' OR 'a'='a

Inserting the malformed password into the query exactly as
it appears above would cause the query to become:

SELECT * FROM USERS WHERE USERNAME='admin' AND PASSWORD='' OR 'a'='a'

The resulting query would return the records where the username
is "admin" and the password is null OR the string 'a' equals 'a', which is always true.
Thus, by manipulating the SQL query, all records are returned from the table
without having known the correct password.

This is just one example of an attack which is possible
using SQL injection. Other forms of attacks could allow
the attacker to gain unauthorized read, write, or delete
access to the database, or to retrieve passwords.

There are also security bypass vulnerabilities which allow for the
bypass of anti-sql-injection filters in the software.

27 Jun 2013, 2:26 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Contraol Scan Issues- don't allow certain user names like admin

shannda:

vulnerability in utm_source parameter to /cc-skye/
Zen Cart uses neither "utm_source" nor "/cc-skye/" in any of its code.

You'll need to trace down your issues to whatever you added to your site to put that there, and deal with those components you added.