Zen Cart Logo
Forums / General Questions / Who's Online - Strange Links

Who's Online - Strange Links

Views: 1,122

Results 1 to 8 of 8
3 Mar 2014, 7:43 PM
#1
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Who's Online - Strange Links

Occasionally when I look at Who's Online, i see page links like these:

/index.php?main_page=product_info&=-1%27
/index.php?main_page=product_info&...

Does anyone know what the purpose of this would be?

Thanks in Advance

~D

3 Mar 2014, 8:07 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Who's Online - Strange Links

Those are not normal, and are not part of typical customer activity.

3 Mar 2014, 8:10 PM
#3
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Who's Online - Strange Links

I see those exact ones often.

Curious if it's something to worry about.

The IP's are typically over seas.

3 Mar 2014, 8:27 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Who's Online - Strange Links

Whoever's doing that is trying to probe for database SQL injection problems by passing parameters which could be used to trick the database into providing unauthorized information or even to change database contents.

But Zen Cart sanitizes against those kinds of things out-of-the-box.

If you're using the current version of Zen Cart and haven't added code which changes how database operations work or how data inputs are sanitized and URLs are manipulated, then you should be fine.

Still, I'd probably be inclined to block anyone doing that.

3 Mar 2014, 8:28 PM
#5
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Who's Online - Strange Links

Thanks DR. B !!

27 May 2014, 3:23 AM
#6
xandros2000 avatar

xandros2000

New Zenner

Join Date:
Jun 2009
Posts:
41
Plugin Contributions:
0

Re: Who's Online - Strange Links

The new one I see has 'A=0 rather than the 1%27.

27 May 2014, 4:25 AM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Who's Online - Strange Links

xandros2000:

The new one I see has 'A=0 rather than the 1%27.

Basically the same thing as previously described. It is to accomplish the same goal. Ie, cause an error by the system stating that A=0 is false. As dr. Byte indeicated ZC out of the box handles this fine. Ifnot done already, be sure that any plugins associated are up-to-date. It is possible that older versions allow such statements to be a problem.

28 May 2014, 12:52 AM
#8
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Who's Online - Strange Links

mc12345678:

A=0 is false
Although not really important, A=0 equates to True.
This is a very old trick that was often used to effectively bypass Username/password logins (which would typically return a "false" If they didn't match).
By inserting something like A=0; would make the response return a "true" no matter what username/password was supplied.
The variable "A" and the value "0" are arbitrary.
B=666; is just as effective.

This is why it is important that all inputs are (or should be) "sanitised" before use (as zencart does)

Cheers
RodG