Machine learning approach to vulnerability detection in OAuth 2.0 authentication and authorization flow
Open Access
- 13 May 2021
- journal article
- research article
- Published by Springer Nature in International Journal of Information Security
- Vol. 21 (2) , 223-237
Abstract
Technologies for integrating enterprise web applications have improved rapidly over the years. The OAuth framework provides authentication and authorization using the users’ profile and credentials in an existing identity provider. This makes it possible for attackers to exploit any vulnerability arising from exchange of data with the provider. Vulnerability in OAuth authorization flow allows an attacker to alter the normal flow sequence of the OAuth protocol. In this paper, a machine learning-based approach was applied in the detection of potential vulnerability in the OAuth authentication and authorization flow by analyzing the relationship between changes in the OAuth parameters and the final output. This research models the OAuth protocol as a supervised learning problem where seven classification models were developed, tuned and evaluated. Exploratory Data Analytics (EDA) techniques were applied in the extraction and analysis of specific OAuth features so that each output class could be evaluated to determine the effect of the identified OAuth features. The models developed in this research were trained, tuned and tested. A performance accuracy above 90% was attained for detection of vulnerabilities in the OAuth authentication and authorization flow. Comparison with known vulnerability resulted in a 54% match.Keywords
Funding Information
- Budapest University of Technology and Economics
This publication has 22 references indexed in Scilit:
- Toward Large-Scale Vulnerability Discovery using Machine Learning2016
- XSS Vulnerability Detection Using Optimized Attack Vector Repertory2015
- Detecting and Removing Web Application Vulnerabilities with Static Analysis and Data MiningIEEE Transactions on Reliability, 2015
- Buffer Overflow Vulnerability Prediction from x86 Executables Using Static Analysis and Machine Learning2015
- Security evaluation of the OAuth 2.0 frameworkInformation & Computer Security, 2015
- Evaluation of machine learning classifiers for mobile malware detectionSoft Computing, 2014
- Detecting software vulnerabilities in android using static analysis2014
- Software vulnerability prediction using text analysis techniques2012
- Stochastic Model Checking2006
- Comparison of Two Exploratory Data Analysis Methods for fMRI: Unsupervised Clustering Versus Independent Component AnalysisIEEE Transactions on Information Technology in Biomedicine, 2004