PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1252
Location: Texas, USA

PostPosted: Sat Jul 25, 2009 8:14 am Reply with quote Back to top

Took me awhile to figure out what was going on here, but it appears there is a problem with the captcha in firefox 3.5.

It occurs when you have login block on left active, and you try to login at the account.html page. It appears to render a different captcha image for each, and if you try to login on the right it will always fail, saying incorrect captcha, go back.

Image

it's not doing it in chrome or ie8, and never a problem until my recent update to firefox 3.5, which I believe has new JS engine...?

Confirmed this same behavior on
Only registered users can see links on this board!
Get registered or login to the forums!


also had problems registering on the test site, after you click the activation link, and as you submit the required form, it tells me:
"You MUST be logged in to access this option"

kind of a catch22 since i can't login until submitting the form. This was on a previous version of firefox, btw.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sat Jul 25, 2009 4:48 pm Reply with quote Back to top

Do you see this same behavior on 3.5.1 ?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1252
Location: Texas, USA

PostPosted: Sat Jul 25, 2009 6:17 pm Reply with quote Back to top

yes it's on 3.5.1, had it in the title, but forgot to type it right later in the post.. Sad
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1252
Location: Texas, USA

PostPosted: Sat Jul 25, 2009 7:36 pm Reply with quote Back to top

i also noticed the first time you visit page it is ok, but on the next hit it moves the captcha image that was on the right into the block, and loads new image on right.. cycling per say.
View user's profile Send private message
wHiTeHaT
Involved
Involved


Joined: Jul 18, 2004
Posts: 431
Location: Netherlands

PostPosted: Fri Aug 21, 2009 1:05 pm Reply with quote Back to top

This can definitely fix it.
Only registered users can see links on this board!
Get registered or login to the forums!

After that change your login block with the bottom example:
Wrap this around the login block:

Code:

global /*your other globals aswell */ $name;
if ($name == 'Your_Account'){
   /*do  nothing */
}else{

/*default block code */

}
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2404
Location: Pennsylvania

PostPosted: Fri Aug 21, 2009 1:47 pm Reply with quote Back to top

I wish firefox would just fix their caching problem (what I think it is) that would be better Wink.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Fri Aug 21, 2009 2:19 pm Reply with quote Back to top

Is this still an issue with 3.5.2?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2404
Location: Pennsylvania

PostPosted: Fri Aug 21, 2009 2:49 pm Reply with quote Back to top

yes
View user's profile Send private message Visit poster's website
amber222
Regular
Regular


Joined: Jun 09, 2004
Posts: 79

PostPosted: Fri Aug 21, 2009 5:53 pm Reply with quote Back to top

Yes, I just upgraded to 3.5.2 and now cannot register or login through the Your_Account module or the Site Info block.
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2404
Location: Pennsylvania

PostPosted: Fri Aug 21, 2009 6:04 pm Reply with quote Back to top

You should be able to login with the userinfo block on any page other than the YA login page. The problem can only be seen when multiple CAPTCHA are loaded.
View user's profile Send private message Visit poster's website
amber222
Regular
Regular


Joined: Jun 09, 2004
Posts: 79

PostPosted: Fri Aug 21, 2009 7:15 pm Reply with quote Back to top

Palbin wrote:
You should be able to login with the userinfo block on any page other than the YA login page. The problem can only be seen when multiple CAPTCHA are loaded.


I tried logging in with the userinfo block from the home page - over and over - but it just wouldn't work. Deleted cookies, but it made no difference. Finally, I hid the left blocks from the Your_Account module and was able to log in from there. Then I logged out, deleted cookies, and tried it from the home page, and it worked.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Fri Aug 21, 2009 11:28 pm Reply with quote Back to top

Palbin wrote:
You should be able to login with the userinfo block on any page other than the YA login page. The problem can only be seen when multiple CAPTCHA are loaded.


Amber, I'm not sure exactly what your issue was but I'm glad you're able to login. My experiences have been the same as Palbin's Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
amber222
Regular
Regular


Joined: Jun 09, 2004
Posts: 79

PostPosted: Sat Aug 22, 2009 9:39 am Reply with quote Back to top

As I noted in my edit to the post at
Only registered users can see links on this board!
Get registered or login to the forums!
it is sounding more and more like another Firefox 3.5.2 problem. It seems to prevent logins periodically, according to lots of users in their forums. BTW, I now recall there have been 2 times I wasn't able to log into admin no matter how many times I tried. I checked the db table and .staccess, and nothing had changed. The password reset script didn't work the first time. I had to delete the admin from the db and redo. The second time, the password reset script worked. Go figure?

On my test site (not the same as above), I used the same username for Admin and regular user but used different passwords. I saved the regular user password in Firefox. Now it won't let me log into admin even when I paste the correct admin password in the box. It keeps going back to the regular user password. Finally, I just changed the Admin username to something else.
View user's profile Send private message
montego
Former Admin in Good Standing


Joined: Aug 29, 2004
Posts: 9071
Location: Arizona

PostPosted: Sat Aug 22, 2009 3:28 pm Reply with quote Back to top

Palbin and I can clearly replicate the issue and are working on at least a hopefully temporary fix. We're trying to trick FF into thinking each image src really is different so it doesn't "re-use" from its cache. It is clear a bug, but it is not clear whether our friends at Mozilla believe it to be... Sad
View user's profile Send private message Visit poster's website
wHiTeHaT
Involved
Involved


Joined: Jul 18, 2004
Posts: 431
Location: Netherlands

PostPosted: Sat Aug 22, 2009 3:34 pm Reply with quote Back to top

I encounter with osc2nuke a simular issue.
To keep the registration/logins working i had to disable it.
I must admit the captcha ravennuke uses isnt my favorit , becouse it is a session based one.
If you ever going to use a module or what so ever into ravennuke , your captcha system posseble go be broken.
If raven desides someday to go use some session based module or script, he might need to completely change his current captcha methode.

The fix i submitted doesnt work when use osc2nuke.
not with version 2 and not with version 3 , i expected it to work atleast with v3.

I'm considering to make a new type of captcha based on human questions.
however edited by site admins where they can change the question and answers themself.

A captcha system is alway's a pain in the *ss


Last edited by wHiTeHaT on Sat Aug 22, 2009 3:45 pm; edited 1 time in total
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
montego
Former Admin in Good Standing


Joined: Aug 29, 2004
Posts: 9071
Location: Arizona

PostPosted: Sat Aug 22, 2009 3:43 pm Reply with quote Back to top

wHiTeHaT, but that is actually a much more secure approach than any of the others that have been used in the past. I think even user logins should be moved to sessions as well.
View user's profile Send private message Visit poster's website
wHiTeHaT
Involved
Involved


Joined: Jul 18, 2004
Posts: 431
Location: Netherlands

PostPosted: Sat Aug 22, 2009 3:45 pm Reply with quote Back to top

i agree, but read my edited message before your post , i clicked to soon to post.
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
wHiTeHaT
Involved
Involved


Joined: Jul 18, 2004
Posts: 431
Location: Netherlands

PostPosted: Sat Aug 22, 2009 3:53 pm Reply with quote Back to top

Infact , i must say , i not agree.
This session use doesnt give any extra security at all.
The session only generates a temporarly image/captcha value.
It doesnt secure the images content way of reading a processed image.
The session generated "ID" outputs a value in a form of an image + some text.
Thats it.
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
montego
Former Admin in Good Standing


Joined: Aug 29, 2004
Posts: 9071
Location: Arizona

PostPosted: Sat Aug 22, 2009 3:55 pm Reply with quote Back to top

Yup, didn't see your expanded post. Good points. I'd much rather use a service for this, such as reCAPTCHA (is that the right name???), so that as hackers/spammers learn how to crack, the service fortifies/adjusts, keeps the API the same, and all sites using it are now using the new improved version. But, lots of things to consider.

Anyways, good discussion!
View user's profile Send private message Visit poster's website
wHiTeHaT
Involved
Involved


Joined: Jul 18, 2004
Posts: 431
Location: Netherlands

PostPosted: Sat Aug 22, 2009 4:05 pm Reply with quote Back to top

I must admit i never investigated how a bot works.
It is one reason i asked earlyer , if it is posseble for a bot to "act" as it has a cache of validated formfields.

My idea was to use a clïents formfield cache to login to a site.
So if clïent X visited before some site where he entered a form + submitted this form.
He gets a double dropdown selection field of al previous used value's.
He cannot manualy enter data into the field.If the choosen value's are identical , he's validated.
Please consider , a call to the browsers formfield cache might NOT be posseble for a bot couse he doesnt have a browser?

My concept thoughts think it is posseble to program a captcha explicit to read the formfield cache, by a programmed detection system.
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sat Aug 22, 2009 4:46 pm Reply with quote Back to top

montego wrote:
Yup, didn't see your expanded post. Good points. I'd much rather use a service for this, such as reCAPTCHA (is that the right name???), so that as hackers/spammers learn how to crack, the service fortifies/adjusts, keeps the API the same, and all sites using it are now using the new improved version. But, lots of things to consider.

Anyways, good discussion!


And as soon as they start charging or leave the scene everyone is left hanging. Using ANY third party system like that is a very treacherous road to follow and I have no intention of going down that road Smile

Read the following article that is current. Very eye-opening especially if you doubt my decision Smile.

Only registered users can see links on this board!
Get registered or login to the forums!
- Especially the section Outages, Closures, and Fail -- Oh My!.

Then, be sure to read the follow-up to the story
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum