Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Location
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Location

 Post Reply Post Reply
Author
deathchaoz View Drop Down
Newbie
Newbie


Joined: 06 June 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote deathchaoz Quote  Post ReplyReply Direct Link To This Post Topic: Location
    Posted: 06 June 2005 at 12:13am
Someone changed their location to their name on the web wiz forum I use, How could they have done it?
Back to Top
sfd19 View Drop Down
Senior Member
Senior Member


Joined: 20 December 2004
Status: Offline
Points: 263
Post Options Post Options   Thanks (0) Thanks(0)   Quote sfd19 Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2005 at 7:35am
By manipulating the form submission on register.asp

To prevent it you must add a check that the submitted country matches one of your list.

Also, you should seriously warn that user.
Politics, economy & social issues: StudentsforDemocracy.net
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2005 at 8:19am
this can be seen as a security hole.

i'll let boRg know about this
Back to Top
deathchaoz View Drop Down
Newbie
Newbie


Joined: 06 June 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote deathchaoz Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2005 at 10:15am
Originally posted by sfd19 sfd19 wrote:

By manipulating the form submission on register.asp

To prevent it you must add a check that the submitted country matches one of your list.

Also, you should seriously warn that user.


Happen to be able to tell me how?
Back to Top
sfd19 View Drop Down
Senior Member
Senior Member


Joined: 20 December 2004
Status: Offline
Points: 263
Post Options Post Options   Thanks (0) Thanks(0)   Quote sfd19 Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2005 at 4:47pm
You would have add a table to the database and put all country names in it. Then you had to change the country submission form on register.asp. Plus, plus, plus,..,..

I doubt that it's worth the time since unlike dj air I do not see it as a security hole. The country gets checked for invalid tags and SQL injection, so there won't be a problem with it. Warn the user and if he does it again, ban him.

As a user, you need to have some knowledge to manipulate the form submission, so that problem will not occur very often, if it does ever happen again at all.
Politics, economy & social issues: StudentsforDemocracy.net
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2005 at 10:15pm
One way of doing it is to copy source to your pc, make whatever changes tou want to dropdowns, and run the source from your pc.
 
Form handlers however should check that the http_referrer they get is from their domain.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2005 at 9:48am
This isn't really a security whole, in fact I have done it myself using standard Firefox plugins.

The country drop down doesn't check if the country entered is in the list as user may change the list or even change it to a text field and let the users type their own country in.

Instead to keep security the country that the users enters is run through security filters to filter out an malicious code that the user may try and enter.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.