This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » General discussion » Symfony Securitiy Issue - validation bypass method
icon4.gif  Symfony Securitiy Issue - validation bypass method [message #5457] Tue, 25 April 2006 15:56 Go to previous message
pookey  is currently offline pookey
Messages: 173
Registered: January 2006
Location: Epsom, Surrey, UK
Senior Member

Synopsis
--------
Symfony's built in validation system can by bypassed by altering the case of a URL.

Affected Versions
-----------------

All current versions of symfony are affected.

Description
-----------

Symfony provides a system to validate actions by specifying rules in a configuration file whos name is dependent upon the requested action. Due to the case insensitivity of PHP coupled with the case sensitivity of the underlying file system, validation rules can by bypassed by changing the case of the action in the URL.

Example
-------

http://site.com/module/action/id/4 - might be validated by a file called 'validate/action.yml'. However, changing the URL to
http://site.com/module/acTIOn/id/4 would bypass the validation (validate/acTiOn.yml would not exist)

Impact
------

The impact of this issue will vary on an application to application basis. For applications relying on validation to sanitize data – unsanitized data could be injected into your site. Some applications might be using the validation system for permissions checking, this issue will allow users to bypass your sites security.

Workaround
----------

Currently there is no known work around.

[Updated on: Tue, 25 April 2006 16:10]


http://shurl.net - the only URL shortening service written with symfony!

Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:using select_country() in ia0-8859-1 documents
Next Topic:Overriding the front controller dispatch method
Goto Forum:

  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software