• DocumentCode
    2140514
  • Title

    Security Testing of Web Applications: A Search-Based Approach for Cross-Site Scripting Vulnerabilities

  • Author

    Avancini, Andrea ; Ceccato, Mariano

  • Author_Institution
    FBK-irst Trento, Trento, Italy
  • fYear
    2011
  • fDate
    25-26 Sept. 2011
  • Firstpage
    85
  • Lastpage
    94
  • Abstract
    More and more web applications suffer the presence of cross-site scripting vulnerabilities that could be exploited by attackers to access sensitive information (such as credentials or credit card numbers). Hence proper tests are required to assess the security of web applications. In this paper, we resort to a search based approach for security testing web applications. We take advantage of static analysis to detect candidate cross-site scripting vulnerabilities. Input values that expose these vulnerabilities are searched by a genetic algorithm and, to help the genetic algorithm escape local optima, symbolic constraints are collected at run-time and passed to a solver. Search results represent test cases to be used by software developers to understand and fix security problems. We implemented this approach in a prototype and evaluated it on real world PHP code.
  • Keywords
    Internet; genetic algorithms; program diagnostics; security of data; PHP code; Web application; candidate cross-site scripting vulnerability detection; genetic algorithm; search based approach; security testing; sensitive information access; static analysis; symbolic constraint; Biological cells; Genetic algorithms; HTML; Search problems; Security; Testing; Web pages;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation (SCAM), 2011 11th IEEE International Working Conference on
  • Conference_Location
    Williamsburg, VI
  • Print_ISBN
    978-1-4577-0932-6
  • Type

    conf

  • DOI
    10.1109/SCAM.2011.7
  • Filename
    6065200