skip to main content
10.1145/1858996.1859019acmconferencesArticle/Chapter ViewAbstractPublication PagesaseConference Proceedingsconference-collections
poster

MiTV: multiple-implementation testing of user-input validators for web applications

Authors Info & Claims
Published:20 September 2010Publication History

ABSTRACT

User-input validators play an essential role in guarding a web application against application-level attacks. Hence, the security of the web application can be compromised by defective validators. To detect defects in validators, testing is one of the most commonly used methodologies. Testing can be performed by manually writing test inputs and oracles, but this manual process is often labor-intensive and ineffective. On the other hand, automated test generators cannot generate test oracles in the absence of specifications, which are often not available in practice. To address this issue in testing validators, we propose a novel approach, called MiTV, that applies Multiple-implementation Testing for Validators, i.e., comparin gthe behavior of a validator under test with other validators of the same type. These other validators of the same type can be collected from either open or proprietary source code repositories. To show the effectiveness of MiTV, we applied MiTV on 53 different validators (of 6 common types) for web applications. Our results show that MiTV detected real defects in 70% of the validators.

References

  1. }}Google code search, http://www.google.com/codesearch.Google ScholarGoogle Scholar
  2. }}Krugle - code search for developers, http://www.krugle.org/.Google ScholarGoogle Scholar
  3. }}Pex and Moles - Isolation and White box Unit Testing for .NET. http://research.microsoft.com/Pex/.Google ScholarGoogle Scholar
  4. }}MiTV, https://sites.google.com/site/mitv2009.Google ScholarGoogle Scholar
  5. }}K. Beaver. The importance of input validation, 2006. http://searchsoftwarequality.techtarget.com/tip/0,289483,sid92_gci1214373,00.html.Google ScholarGoogle Scholar
  6. }}L. Chen and A. Avizienis. N-version programming: A fault-tolerance approach to reliability of software operation. In Proc. FTCS, pages 3--9, 1978.Google ScholarGoogle Scholar
  7. }}J. C. Knight and N. G. Leveson. An experimental evaluation of the assumption of independence in multiversion programming. IEEE TSE, 12(1):96--109, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. }}H. Liu and H. B. K. Tan. Automated verification and test case generation for input validation. In Proc. AST, pages 9--14, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. }}W. M. McKeeman. Differential testing for software. Digital Technical Journal of Digital Equipment Corporation, 10(1):100--107, 1998.Google ScholarGoogle Scholar
  10. }}K. Taneja and T. Xie. DiffGen: Automated regression unit-test generation. In Proc. ASE, pages 407--410, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. MiTV: multiple-implementation testing of user-input validators for web applications

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ASE '10: Proceedings of the 25th IEEE/ACM International Conference on Automated Software Engineering
      September 2010
      534 pages
      ISBN:9781450301169
      DOI:10.1145/1858996

      Copyright © 2010 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 20 September 2010

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • poster

      Acceptance Rates

      Overall Acceptance Rate82of337submissions,24%

      Upcoming Conference

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader