scispace - formally typeset
Open AccessProceedings Article

Finding security vulnerabilities in java applications with static analysis

Reads0
Chats0
TLDR
This paper proposes a static analysis technique for detecting many recently discovered application vulnerabilities such as SQL injections, cross-site scripting, and HTTP splitting attacks based on a scalable and precise points-to analysis.
Abstract
This paper proposes a static analysis technique for detecting many recently discovered application vulnerabilities such as SQL injections, cross-site scripting, and HTTP splitting attacks. These vulnerabilities stem from unchecked input, which is widely recognized as the most common source of security vulnerabilities in Web applications. We propose a static analysis approach based on a scalable and precise points-to analysis. In our system, user-provided specifications of vulnerabilities are automatically translated into static analyzers. Our approach finds all vulnerabilities matching a specification in the statically analyzed code. Results of our static analysis are presented to the user for assessment in an auditing interface integrated within Eclipse, a popular Java development environment. Our static analysis found 29 security vulnerabilities in nine large, popular open-source applications, with two of the vulnerabilities residing in widely-used Java libraries. In fact, all but one application in our benchmark suite had at least one vulnerability. Context sensitivity, combined with improved object naming, proved instrumental in keeping the number of false positives low. Our approach yielded very few false positives in our experiments: in fact, only one of our benchmarks suffered from false alarms.

read more

Content maybe subject to copyright    Report

Citations
More filters
Journal ArticleDOI

Predicting SQL injection and cross site scripting vulnerabilities through mining input sanitization patterns

TL;DR: This paper aims to provide an alternative or complementary solution to existing taint analyzers by proposing static code attributes that can be used to predict specific program statements, rather than software components, which are likely to be vulnerable to SQLI or XSS.
Proceedings ArticleDOI

Symbolic security analysis of ruby-on-rails web applications

TL;DR: This work introduces Rubyx, a symbolic executor that is used to analyze Ruby-on-Rails web applications for security vulnerabilities, and shows how to write Ruby specifications to detect susceptibility to cross-site scripting and cross- site request forgery, insufficient authentication, leaks of secret information, insufficient access control, as well as application-specific security properties.

End-to-end web application security

TL;DR: This paper makes the end-to-end argument that the client and server must collaborate to achieve security goals, to eliminate common security exploits, and to secure the emerging class of rich, cross-domain Web applications referred to as Web 2.0.
Proceedings ArticleDOI

Using Automated Fix Generation to Secure SQL Statements

TL;DR: This paper proposes an automated method for removing SQL injection vulnerabilities from Java code by converting plain text SQL statements into prepared statements, which allows developers to remove vulnerable code by replacing vulnerable code with generated secure code.
Proceedings ArticleDOI

Fear the EAR: discovering and mitigating execution after redirect vulnerabilities

TL;DR: This paper presents a comprehensive study of a relatively unknown logic flaw in web applications, which is called Execution After Redirect, or EAR, and presents an open-source, white-box, static analysis tool to detect EARs in Ruby on Rails web applications.
References
More filters
Book

Principles of database and knowledge-base systems

TL;DR: This book goes into the details of database conception and use, it tells you everything on relational databases from theory to the actual used algorithms.
Proceedings Article

StackGuard: automatic adaptive detection and prevention of buffer-overflow attacks

TL;DR: StackGuard is described: a simple compiler technique that virtually eliminates buffer overflow vulnerabilities with only modest performance penalties, and a set of variations on the technique that trade-off between penetration resistance and performance.
Proceedings ArticleDOI

JFlow: practical mostly-static information flow control

TL;DR: The new language JFlow is described, an extension to the Java language that adds statically-checked information flow annotations and provides several new features that make information flow checking more flexible and convenient than in previous models.
Proceedings ArticleDOI

Points-to analysis in almost linear time

TL;DR: This is the asymptotically fastest non-trivial interprocedural points-to analysis algorithm yet described and is based on a non-standard type system for describing a universally valid storage shape graph for a program in linear space.
Related Papers (5)