A Symbolic Execution Framework for JavaScript
Prateek Saxena, Devdatta Akhawe, Steve Hanna et al. · Proceedings - IEEE Symposium on Security and Privacy/Proceedings of the ... IEEE Symposium on Security and Privacy · 2010
As AJAX applications gain popularity, client-side JavaScript code is becoming increasingly complex. However, few automated vulnerability analysis tools for JavaScript exist. In this paper, we describe the first system for exploring the execution space of JavaScript code using symbolic execution. To handle JavaScript code's complex use of string operations, we design a new language of string constraints and implement a solver for it. We build an automatic end-to-end tool, Kudzu, and apply it to the problem of finding client-side code injection vulnerabilities. In experiments on 18 live web applications, Kudzu automatically discovers 2 previously unknown vulnerabilities and 9 more that were previously found only with a manually-constructed test suite.
Cited by 455 works. doi:10.1109/sp.2010.38
Authors
References
- Automated Whitebox Fuzz Testing.
- A Decision Procedure for Bit-Vectors and Arrays
- Automatic creation of SQL Injection and cross-site scripting attacks
- Saner: Composing Static and Dynamic Analysis to Validate Sanitization in Web Applications
- A Symbolic Execution Framework for JavaScript
- GATEKEEPER: mostly static enforcement of security and reliability policies for javascript code
- Staged information flow for javascript
- Automatic generation of XSS and SQL injection attacks with goal-directed model checking
- Finding bugs in dynamic web applications
- HAMPI