Using Type Qualifiers to Analyze Untrusted Integers and Detecting Security Flaws in C Programs
- Cite this paper as:
- Ceesay E.N., Zhou J., Gertz M., Levitt K., Bishop M. (2006) Using Type Qualifiers to Analyze Untrusted Integers and Detecting Security Flaws in C Programs. In: Büschkes R., Laskov P. (eds) Detection of Intrusions and Malware & Vulnerability Assessment. DIMVA 2006. Lecture Notes in Computer Science, vol 4064. Springer, Berlin, Heidelberg
Incomplete or improper input validation is one of the major sources of security bugs in programs. While traditional approaches often focus on detecting string related buffer overflow vulnerabilities, we present an approach to automatically detect potential integer misuse, such as integer overflows in C programs. Our tool is based on CQual, a static analysis tool using type theory. Our techniques have been implemented and tested on several widely used open source applications. Using the tool, we found known and unknown integer related vulnerabilities in these applications.
Unable to display preview. Download preview PDF.