18 April 2008 | 8,134 views

HDIV – Java Web Application Security Framework

Check For Vulnerabilities with Acunetix

HDIV (HTTP Data Integrity Validator) is a Java Web Application Security Framework. HDIV extends web applications’ behaviour by adding Security functionalities, maintaining the API and the framework specification. This implies that we can use HDIV in applications developed in Struts 1.x, Struts 2.x, Spring MVC and JSTL in a transparent way to the programmer and without adding any complexity to the application development. It is possible to use HDIV in applications that don’t use Struts 1.x, Struts 2.x, Spring MVC or JSTL, but in this case it is necessary to modify the application (JSP pages).

Functionality

INTEGRITY: HDIV guarantees integrity (no data modification) of all the data generated by the server which should not be modified by the client (links, hidden fields, combo values, radio buttons, destiny pages, etc.). Thanks to this property HDIV helps to eliminate most of the vulnerabilities based on the parameter tampering.

EDITABLE DATA VALIDATION: HDIV eliminates to a large extent the risk originated by attacks of type Cross-site scripting (XSS) and SQL Injection using generic validations of the editable data (text and textarea).

CONFIDENTIALITY: HDIV guarantees the confidentiality of the non editable data as well. Usually lots of the data sent to the client has key information for the attackers such as database registry identifiers, column or table names, web directories, etc.

ANTI-CROSS SITE REQUEST FORGERY (CSRF) TOKEN: Random string called a token is placed in each form and link of the HTML response, ensuring that this value will be submitted with the next request. This random string provides protection because not only does the compromised site need to know the URL of the target site and a valid request format for the target site, it also must know the random string which changes for each visited page.

You can download HDIV here:

hdiv 2.0.4

Or read more here.



Recent in Countermeasures:
- Don’t Get Hacked – Have A Free Acunetix Security Scan
- Bro – Passive Open-Source Network Traffic Analyzer
- Hook Analyser 3.1 – Malware Analysis Tool

Related Posts:
- Samurai Web Testing Framework 0.6 Released – Web Application Security LiveCD
- OWASP CodeCrawler – Static Code Review Tool
- w3af Fifth BETA for Download – Automated Web Auditing and Exploitation Framework

Most Read in Countermeasures:
- AJAX: Is your application secure enough? - 119,052 views
- Password Hasher Firefox Extension - 116,940 views
- NDR or Backscatter Spam – How Non Delivery Reports Become a Nuisance - 57,543 views

Low-cost VPS Hosting

One Response to “HDIV – Java Web Application Security Framework”

  1. ZaD MoFo 19 April 2008 at 9:23 am Permalink

    I have not yet seen a Social Network Website that displays its use as a security measure.

    Also, the burden of implementing this Framework in small project relegate it to the major league.
    Fortunately, their documentation is ample.