Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Risk

11/21/2008
12:00 AM
Commentary
Commentary
Commentary
50%
50%

Web Security Testing Cookbook Book Review

Veteran web application developers know how hostile the Internet can be, and cookbooks like this one remind us that code vulnerabilities are as diverse as the applications they are unintentionally a part of.  Authors Paco Hope and Ben Walther outfit readers with free software security tools and instruct how to use these plug-ins and utilities to build more tamper-resistent apps.

Veteran web application developers know how hostile the Internet can be, and cookbooks like this one remind us that code vulnerabilities are as diverse as the applications they are unintentionally a part of.  Authors Paco Hope and Ben Walther outfit readers with free software security tools and instruct how to use these plug-ins and utilities to build more tamper-resistent apps.

This twelve chapter book adopts the usual O'Reilly cookbook-formatted problem/solution/discussion approach to some of the most prevalent web app security issues facing developers today.  The first four chapters supply the obligatory introduction, tool recommendations (all of which are freely available) and demonstrations, including one for the outstanding Firebug Firefox extension.  Once outfitted with the necessary testing software and a basic understanding of web-friendly data encoding formats, the remainder of the book reviews input attacks via such vectors as URL tampering and file uploads carrying malicious payloads (Chapter 5), website scanning and retrieval using WebScarab, LWP and Nikto (Chapter 6).  Chapter 7 and 8 are exclusively dedicated to learning and applying the cURL application and LibWWWPerl library in security testing scenarios.  Chapter 9 is a potpourri of recipes including revealing examples of password recovery abuse, predicting credentials and finding and testing random numbers in web applications.

Given the breadth of known security vulnerabilities in AJAX, I was disappointed that the authors spent less than 20 pages covering the most obvious AJAX XML and JSON injection attacks.  Given the considerable volume and rapid explosion of web apps and frameworks in the AJAX space these days, I would have preferred that the authors deliver an assessment of the security strength and known issues with more popular AJAX libraries like Dojo and Script.aculo.us.  Alas, readers will have to look elsewhere for this type of information.  Another curious omission from the book is any mention of the popular penetration testing framework Metasploit (www.metasploit.com).  Perhaps this is due to Metasploit's swiss army knife approach to security vulnerability analysis beyond web applications.

Chapter 11 demonstrates session manipulation via cookies, header authorizations, session ID expirations and cross-site request forgeries.  Finally, the book closes with a chapter supplying 17 different approaches that be used to do everything from modifying XSS to CLI, LDAP and SSI injection attacks.  Given the step-by-step detail of these attacks, one can imagine cracker-wannabes lifting the tips from this book for their own nefarious reasons.  For the white hat developers that Pac and Ben have written the book for, these descriptions easily show how delicate and effortless it can be to subvert poorly written applications that do not place as high a priority on security than they do on stability and performance.

In summary, web developer writing applications for public Internet consumption that are not already familiar with and practicing effective security design strategies should read this book.  Obtain a quick education on what the world will do to security negligent apps once they're accessible on the wild, wild Internet.  Developers not heeding this kind of advice are risking both their hard work and reputations as a consequence.
 


 
Authors: Paco Hope and Ben Walther
Publisher: O'Reilly Media
ISBN: 978-0-596-51483-9
Price: $39.99 US

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
I 'Hacked' My Accounts Using My Mobile Number: Here's What I Learned
Nicole Sette, Director in the Cyber Risk practice of Kroll, a division of Duff & Phelps,  11/19/2019
DevSecOps: The Answer to the Cloud Security Skills Gap
Lamont Orange, Chief Information Security Officer at Netskope,  11/15/2019
Attackers' Costs Increasing as Businesses Focus on Security
Robert Lemos, Contributing Writer,  11/15/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Navigating the Deluge of Security Data
In this Tech Digest, Dark Reading shares the experiences of some top security practitioners as they navigate volumes of security data. We examine some examples of how enterprises can cull this data to find the clues they need.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-13157
PUBLISHED: 2019-11-22
nsGreen.dll in Naver Vaccine 2.1.4 allows remote attackers to overwrite arbitary files via directory traversal sequences in a filename within nsz archive.
CVE-2012-2079
PUBLISHED: 2019-11-22
A cross-site request forgery (CSRF) vulnerability in the Activity module 6.x-1.x for Drupal.
CVE-2019-11325
PUBLISHED: 2019-11-21
An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. The VarExport component incorrectly escapes strings, allowing some specially crafted ones to escalate to execution of arbitrary PHP code. This is related to symfony/var-exporter.
CVE-2019-18887
PUBLISHED: 2019-11-21
An issue was discovered in Symfony 2.8.0 through 2.8.50, 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. The UriSigner was subject to timing attacks. This is related to symfony/http-kernel.
CVE-2019-18888
PUBLISHED: 2019-11-21
An issue was discovered in Symfony 2.8.0 through 2.8.50, 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. If an application passes unvalidated user input as the file for which MIME type validation should occur, then arbitrary arguments are passed to the underlying file command. T...