Newsflash

eZ components is an enterprise ready general purpose PHP platform. As a collection of high quality independent building blocks for PHP application development eZ components will both speed up development and reduce risks. What is interesting with eZcomponents is that it's developped for the future, currently require PHP 5.1 and the locale package will require a Unicode enabled version of PHP and so probably PHP 6.
 
Expand All Collapse All Show/Hide Modules

Login

Total Users

750 Inscrits
0 Aujourd'hui
1 Cette semaine
Dernier: adudeepak

Syndicate

Accueil arrow Actualité arrow Web Developper News arrow AJAX IS Harmful IF ...
AJAX IS Harmful IF ... Convertir en PDF Version imprimable Suggérer par mail
12-01-2007
Slashdotted today a paper called Subverting AJAX [PDF] by Stefano Di Paola and Giorgio Fedon presented at the 23rd Chaos Communication Congress. The document talk about next generation vulnerabilities in 2.0 Web Applications, innovative attack scenarios, Prototype Hijacking, UXSS, and other terms that might scare you at first glance. While I thought it was talking about something new, it's just XSS techniques applied to AJAX applications.
ajax-hijacking.png

To make things clear AJAX applications have two parts :

  1. Server side

  2. Client side

Now what the paper is talking about is the client side : playing with DOM, Hijacking JavaScript by inserting malicious code ... but when could this happen ? If a website is vulnerable to XSS ! And to protect your website/application from XSS simply never trust any external data, it's the general rule which is valid for all application development. And when an application is vulnerable to XSS, I don't think we need to give it a new name, because techniques of exploiting XSS bugs are countless.

So we talked about the client side which is vulnerable, but not harmful ! Back to the server-side of the AJAX applications, now if we don't trust any external data, apply correct validations and correct application design, our application will be certainly vulnerable and in this case it could be harmful.

Conclusion

If your application is vulnerable to XSS, it is harmful - AJAX is just the tool which have been always used nothing really new. The only problem I see here is that many developers don't really care about XSS bugs and don't find it harmful, so this will depend on your application and need to do further investigations before making conclusions.

 
< Précédent   Suivant >
© 2008 SourceForAll