arrow
Return

Metamorphic Testing for Web System Security

delete2023-01-01
delete10
delete
OA
AI
N
Nazanin Bayati Chaleshtari
F
Fabrizio Pastore *
A
Arda Göknil
L
Lionel Briand
DOI:10.1109/TSE.2023.3256322delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Security testing aims at verifying that the software meets its security properties. In modern Web systems, however, this often entails the verification of the outputs generated when exercising the system with a very large set of inputs. Full automation is thus required to lower costs and increase the effectiveness of security testing. Unfortunately, to achieve such automation, in addition to strategies for automatically deriving test inputs, we need to address the oracle problem, which refers to the challenge, given an input for a system, of distinguishing correct from incorrect behavior (e.g., the response to be received after a specific HTTP GET request). In this paper, we propose Metamorphic Security Testing for Web-interactions (MST-wi), a metamorphic testing approach that integrates test input generation strategies inspired by mutational fuzzing and alleviates the oracle problem in security testing. It enables engineers to specify metamorphic relations (MRs) that capture many security properties of Web systems. To facilitate the specification of such MRs, we provide a domain-specific language accompanied by an Eclipse editor. MST-wi automatically collects the input data and transforms the MRs into executable Java code to automatically perform security testing. It automatically tests Web systems to detect vulnerabilities based on the relations and collected data. We provide a catalog of 76 system-agnostic MRs to automate security testing in Web systems. It covers 39% of the OWASP security testing activities not automated by state-of-the-art techniques; further, our MRs can automatically discover 102 different types of vulnerabilities, which correspond to 45% of the vulnerabilities due to violations of security design principles according to the MITRE CWE database. We also define guidelines that enable test engineers to improve the testability of the system under test with respect to our approach. We evaluated MST-wi effectiveness and scalability with two well-known Web systems (i.e., Jenkins and Joomla). It automatically detected 85% of their vulnerabilities and showed a high specificity (99.81% of the generated inputs do not lead to a false positive); our findings include a new security vulnerability detected in Jenkins. Finally, our results demonstrate that the approach scale, thus enabling automated security testing overnight.
Keywords:
System security testing
metamorphic testing
domain-specific languages

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.9K
Citations:
1.1W

Organization

S
SINTEF
Scholars:
3.5K
Papers: 4.0K
Citations: 1
U
University of Ottawa
Scholars:
3.5W
Papers: 3.1W
Citations: 3.8W
U
university of luxembourg
Scholars:
5.2K
Papers: 4.8K
Citations: 4
researcher View more organizations
Cited Papers

Cited Papers

Contemporary approaches to the management of executive control dysfunction
err1993-03-01
err0
PREAI
errMcKay Moore Sohlberg; Catherine A. Mateer; Donald T. Mateer
errShare
errSave
Ancient DNA in lake sediment records
err2009-10-01
err0
errOAAI
errMarco JL Coolen; John AE Gibson
errShare
errSave
Metamorphic Relations for Enhancing System Understanding and Use
err2020-10-01
err89
errOAAI
errZhou, Zhi Quan; Sun, Liqun; Chen, Tsong Yueh; Towey, Dave
errShare
errSave
The Art, Science, and Engineering of Fuzzing: A Survey
err2021-11-01
err306
errOAAI
errManes, Valentin J. M.; Han, HyungSeok; Han, Choongwoo; Cha, Sang Kil; Egele, Manuel; Schwartz, Edward J.; Woo, Maverick
errShare
errSave
An Automated Test Generation Technique for Software Quality Assurance
err2015-03-01
err32
PREAI
errXu, Dianxiang; Xu, Weifeng; Kent, Michael; Thomas, Lijo; Wang, Linzhang
errShare
errSave
researcher View more