Hacking Web Apps
by Zeljka Zorz - Wednesday, 2 January 2013.
Author: Mike Shema
Pages: 296
Publisher: Syngress
ISBN: 159749951X



Introduction

Web security impacts applications, servers and browsers. Successful attacks against Web applications and sites means bad news for their owners, developers and users. This book explains the ins and outs of eight types of security weaknesses and flaws most commonly exploited by hackers, and advises on how to fix them.

About the author

Mike Shema develops web application security solutions at Qualys. His current work is focused on an automated web assessment service, but his security background ranges from network penetration testing, wireless security, code review, and web security.

Inside the book

The book rightfully starts with a comprehensive chapter on HTML5. As this latest version of the language on which the entire Web is based slowly moves towards becoming the de facto standard, it will simplify the life of web developers as well as provide more guidance on security practices and stricter rules for HTML parsing. The author has done a good job explaining the adopted changes and pointing out the security considerations web developers should think about in order to avoid implementation errors.

The topic of HTML injection and cross-site scripting (XSS) attacks is addressed next: how they are executed, why they are so prevalent and still so difficult to defeat, and what to do to protect your web resources and its visitors from them.

The third chapter deals with Cross-Site Request Forgery (CSRF) attacks, during which hackers take advantage of the users' already established relationship with a site, "impersonate" them, and execute fraudulent transactions, "steal" their clicks, and more.

SQL injection and data store manipulation attacks have been tackled in the fourth chapter. Even though it's easy to apply countermeasures against SQL injections, we still keep hearing how websites and databases get compromised with this type of attacks. The author beautifully explains why that is still happening, and what to do about it, making this a chapter that every web developer should know by heart.

The same can be said about the following chapter about attacks aimed at breaking authentication schemes (mainly password authentication) - session token replaying or reverse engineering, brute forcing, sniffing, and others. Here you can brush up on some of your encryption knowledge, as well as learn about a number of alternate authentication frameworks such as OAuth 2.0 or OpenID.

The last two chapters deal with design deficiencies' abuse, logic attacks, application, system and network weaknesses and how they are usually exploited.

The final chapter addresses browser and privacy attacks, and teaches about how malware attacks browsers and how you can better protect your privacy and data online. Recommended countermeasures are a mix of advice on setting configuration, online browsing behavior, and recommendations of various online services and plugins, and this last part could definitely be of use to every Internet user.

Throughout the book the author adds handy tips and "Epic Fail" stories that help draw the readers' attention to potential mistakes and drive home certain points that are best to be remembered.

Final thoughts

This relatively short book is a perfect fit for budding and active web developers, but not so much for everyday Internet users. Readers who don't know the first thing about HTML, JavaScript, and in general how the Web "works" will be struggling to keep pace.

I found this book to be a great source of information and very easy to read. The author explained the subject matter well, and stopped (perfectly) short of delving into the minute technical intricacies.

Given the effectiveness of the attacks addressed in the book, I should think that even seasoned web developers might want to consider taking a peek and see if they had been ignoring some of the things in it.



Spotlight

Fake "Online Ebola Alert Tool" delivers Trojan

Posted on 29 October 2014.  |  Cyber scammers continue to take advantage of the fear and apprehension surrounding the proliferation of the Ebola virus.


Weekly newsletter

Reading our newsletter every Monday will keep you up-to-date with security news.
  



Daily digest

Receive a daily digest of the latest security news.
  

DON'T
MISS

Thu, Oct 30th
    COPYRIGHT 1998-2014 BY HELP NET SECURITY.   // READ OUR PRIVACY POLICY // ABOUT US // ADVERTISE //