Analysis of Web Application Security Threats Using the DBSCAN Clustering Technique

Authors

DOI:

https://doi.org/10.21015/vtse.v14i3.2123

Abstract

As web applications continue to become more and more complex, they have become opportunistic for different types of security threats. These threats are usually represented by various attack types and for every attack it is necessary to choose the proper method and approaches to discover it. However, the lack of a structured approach to analyzing the relationships between security threats, attack types, and testing techniques hinders the development of efficient security strategies. By leveraging DBSCAN, this study groups similar security incidents to identify hidden relationships and trends that can inform more targeted security measures. The methodology entails gathering information from the latest high-quality research on web application security, clustering the security threats by employing DBSCAN algorithm, and then comparing the generated clusters to attack types, as well as with the various testing techniques. This analysis provides valuable insights into how different attack types are associated with specific security threats, and which testing techniques are most effective for detecting and mitigating these threats. The findings contribute towards a more structured approach to web application security, offering recommendations for improved threat detection and prevention strategies.

References

P. Ferrara, A. K. Mandal, A. Cortesi, and F. Spoto, "Static analysis for discovering IoT vulnerabilities," International Journal on Software Tools for Technology Transfer, vol. 23, pp. 71–88, 2021.

H. O. Ekpobimi, R. C. Kandekere, and A. A. Fasanmade, "Front-end development and cybersecurity: A conceptual approach to building secure web applications," Computer Science & IT Research Journal, vol. 5, no. 9, pp. 2154–2168, 2024.

R. Vallabhaneni, S. E. V. S. Pillai, S. A. Vaddadi, S. R. Addula, and B. Ananthan, "Secured web application based on CapsuleNet and OWASP in the cloud," Indonesian Journal of Electrical Engineering and Computer Science, vol. 35, no. 3, pp. 1924–1932, 2024.

E. Trickel, F. Pagani, C. Zhu, L. Dresel, G. Vigna, C. Kruegel, and A. Doupé, "Toss a fault to your witcher: Applying grey-box coverage-guided mutational fuzzing to detect SQL and command injection vulnerabilities," in 2023 IEEE Symposium on Security and Privacy (SP), IEEE, 2023, pp. 2658–2675.

R. Vallabhaneni, S. A. Vaddadi, S. E. V. S. Pillai, S. R. Addula, and B. Ananthan, "MobileNet based secured compliance through open web application security projects in cloud system," Indonesian Journal of Electrical Engineering and Computer Science, vol. 35, no. 3, pp. 1661–1669, 2024.

B. Mahesh, "Machine learning algorithms—a review," International Journal of Science and Research, vol. 9, no. 1, pp. 381–386, 2020.

D. Deng, "DBSCAN clustering algorithm based on density," in 2020 7th International Forum on Electrical Engineering and Automation (IFEEA), IEEE, 2020, pp. 949–953.

N. Gholizadeh, H. Saadatfar, and N. Hanafi, "K-DBSCAN: An improved DBSCAN algorithm for big data," The Journal of Supercomputing, vol. 77, no. 6, pp. 6214–6235, 2021.

S. Kim, J. Chen, T. Cheng, A. Gindulyte, J. He, S. He, Q. Li, B. A. Shoemaker, P. A. Thiessen, B. Yu, and E. E. Bolton, "PubChem in 2021: New data content and improved web interfaces," Nucleic Acids Research, vol. 49, no. D1, pp. D1388–D1395, 2021.

H. Zhang, B. Liu, P. Cui, Y. Sun, Y. Yang, and S. Guo, "An outlier detection algorithm for electric power data based on DBSCAN and LOF," in Proceedings of the 9th International Conference on Computer Engineering and Networks, Singapore: Springer Singapore, 2020, pp. 1097–1106.

S. Applebaum, T. Gaber, and A. Ahmed, "Signature-based and machine-learning-based web application firewalls: A short survey," Procedia Computer Science, vol. 189, pp. 359–367, 2021.

J. L. Johnson, D. Adkins, and S. Chauvin, "A review of the quality indicators of rigor in qualitative research," American Journal of Pharmaceutical Education, vol. 84, no. 1, p. 7120, 2020.

C. Chen, Y. Zuo, W. Ye, X. Li, Z. Deng, and S. P. Ong, "A critical review of machine learning of energy materials," Advanced Energy Materials, vol. 10, no. 8, p. 1903242, 2020.

O. B. Fredj, O. Cheikhrouhou, M. Krichen, H. Hamam, and A. Derhab, "An OWASP top ten driven survey on web application protection methods," in International Conference on Risks and Security of Internet and Systems, Cham: Springer International Publishing, 2020, pp. 235–252.

M. Khan, M. Ilyas, T. M. Qadah, and A. Ghaffar, "Factors influencing software development competencies of GSD teams: Extraction from SLR and empirical study," IEEE Access, 2024.

D. Tripathy, R. Gohil, and T. Halabi, "Detecting SQL injection attacks in cloud SaaS using machine learning," in 2020 IEEE 6th Intl Conference on Big Data Security on Cloud (BigDataSecurity), IEEE Intl Conference on High Performance and Smart Computing (HPSC) and IEEE Intl Conference on Intelligent Data and Security (IDS), IEEE, 2020, pp. 145–150.

V. Mathalli Narasimha, D. Andhe, S. N. Swamy, and M. Balaraju, "Application of machine learning algorithms for detection of vulnerability in web applications," SN Computer Science, vol. 4, no. 2, p. 110, 2022.

U. B. Chaudhry and A. K. Hydros, "Zero‐trust‐based security model against data breaches in the banking sector: A blockchain consensus algorithm," IET Blockchain, vol. 3, no. 2, pp. 98–115, 2023.

B. Song, L. Sun, and Z. Qin, "Design of web security penetration test system based on attack and defense game," Scientific Programming, vol. 2022, no. 1, p. 8645969, 2022.

C. Weir, S. Migues, M. Ware, and L. Williams, "Infiltrating security into development: Exploring the world's largest software security study," in Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 2021, pp. 1326–1336.

S. Song, S. Park, and D. Kwon, "metaSafer: A technique to detect heap metadata corruption in WebAssembly," IEEE Access, 2023.

J. Y. Kim and S. M. Moon, "Disclosure: Improving performance and security of web app migration in liquid computing," Journal of Web Engineering, vol. 22, no. 1, pp. 79–104, 2023.

D. Y. Demirel and M. T. Sandikkaya, "Web based anomaly detection using zero-shot learning with CNN," IEEE Access, 2023.

M. Rennhard, M. Kushnir, O. Favre, D. Esposito, and V. Zahnd, "Automating the detection of access control vulnerabilities in web applications," SN Computer Science, vol. 3, no. 5, p. 376, 2022.

I. K. Thajeel, K. Samsudin, S. J. Hashim, and F. Hashim, "Dynamic feature selection model for adaptive cross site scripting attack detection using developed multi-agent deep Q learning model," Journal of King Saud University - Computer and Information Sciences, vol. 35, no. 6, p. 101490, 2023.

K. F. Alenzi and O. A. B. Abbase, "A defensive framework for reflected XSS in client-side applications," Journal of Web Engineering, vol. 21, no. 7, pp. 2209–2229, 2022.

A. Shaheed and M. B. Kurdy, "Web application firewall using machine learning and features engineering," Security and Communication Networks, vol. 2022, no. 1, p. 5280158, 2022.

Y. Zheng, Y. Liu, X. Xie, Y. Liu, L. Ma, J. Hao, and Y. Liu, "Automatic web testing using curiosity-driven reinforcement learning," in 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE), IEEE, 2021, pp. 423–435.

K. B. Jalbani, M. Yousaf, M. S. Sarfraz, R. Jamili Oskouei, A. Hussain, and Z. Memon, "Poor coding leads to DoS attack and security issues in web applications for sensors," Security and Communication Networks, vol. 2021, no. 1, p. 5523806, 2021.

S. Ibarra-Fiallos, J. B. Higuera, M. Intriago-Pazmiño, J. R. B. Higuera, J. A. S. Montalvo, and J. Cubo, "Effective filter for common injection attacks in online web applications," IEEE Access, vol. 9, pp. 10378–10391, 2021.

T. C. H. Nguyen, M. K. Le-Nguyen, D. T. Le, V. H. Nguyen, L. P. Tôn, and K. Nguyen-An, "Improving web application firewalls with automatic language detection," SN Computer Science, vol. 3, no. 6, p. 446, 2022.

J. Bozic, Y. Li, and F. Wotawa, "Ontology-driven security testing of web applications," in 2020 IEEE International Conference on Artificial Intelligence Testing (AITest), IEEE, 2020, pp. 115–122.

J. Bozic and F. Wotawa, "Planning-based security testing of web applications with attack grammars," Software Quality Journal, vol. 28, no. 1, pp. 307–334, 2020.

L. Yu, L. Chen, J. Dong, M. Li, L. Liu, B. Zhao, and C. Zhang, "Detecting malicious web requests using an enhanced textCNN," in 2020 IEEE 44th Annual Computers, Software, and Applications Conference (COMPSAC), 2020, p. 167.

X. Zhou and Y. Wang, "Enhancing the security of memory in cloud infrastructure through in-phase change memory data randomisation," IET Computers & Digital Techniques, vol. 15, no. 5, pp. 321–334, 2021.

J. Liu, Y. Su, S. Lv, and C. Huang, "Detecting web spam based on novel features from web page source code," Security and Communication Networks, vol. 2020, no. 1, p. 6662166, 2020.

M. Ghorbanzadeh and H. R. Shahriari, "Detecting application logic vulnerabilities via finding incompatibility between application design and implementation," IET Software, vol. 14, no. 4, pp. 377–388, 2020.

E. Lavens, P. Philippaerts, and W. Joosen, "A quantitative assessment of the detection performance of web vulnerability scanners," in Proceedings of the 17th International Conference on Availability, Reliability and Security, 2022, pp. 1–10.

B. Eriksson, G. Pellegrino, and A. Sabelfeld, "Black widow: Blackbox data-driven web scanning," in 2021 IEEE Symposium on Security and Privacy (SP), IEEE, 2021, pp. 1125–1142.

R. Kumar, A. I. Khan, Y. B. Abushark, M. M. Alam, A. Agrawal, and R. A. Khan, "A knowledge-based integrated system of hesitant fuzzy set, AHP and TOPSIS for evaluating security-durability of web applications," IEEE Access, vol. 8, pp. 48870–48885, 2020.

V. Casola, A. De Benedictis, M. Rak, and G. Salzillo, "A cloud SecDevOps methodology: From design to testing," in Quality of Information and Communications Technology: 13th International Conference, QUATIC 2020, Faro, Portugal, Sep. 2020, pp. 317–331, Springer International Publishing.

M. Mirakhorli, M. Galster, and L. Williams, "Understanding software security from design to deployment," ACM SIGSOFT Software Engineering Notes, vol. 45, no. 2, pp. 25–26, 2020.

M. Riegler, J. Sametinger, M. Vierhauser, and M. Wimmer, "A model-based mode-switching framework based on security vulnerability scores," Journal of Systems and Software, vol. 200, p. 111633, 2023.

H. Li, Y. Liu, X. Qi, X. Yu, and S. Guo, "Structuring meaningful bug-fixing patches to fix software defect," IET Software, vol. 17, no. 4, pp. 566–581, 2023.

J. Á. Román‐Gallejo, M. L. Pérez‐Delgado, M. L. Viñuela, and M. C. Vega‐Hernández, "Artificial intelligence web application firewall for advanced detection of web injection attacks," Expert Systems, p. e13505.

M. A. Ramazanzadeh, B. Barzegar, and H. Motameni, "ASATM: Automated security assistant of threat models in intelligent transportation systems," IET Computers & Digital Techniques, vol. 16, no. 5-6, pp. 141–158, 2022.

Y. Jiang and Y. Atif, "A selective ensemble model for cognitive cybersecurity analysis," Journal of Network and Computer Applications, vol. 193, p. 103210, 2021.

S. Saleem, M. Sheeraz, M. Hanif, and U. Farooq, "Web server attack detection using machine learning," in 2020 International Conference on Cyber Warfare and Security (ICCWS), IEEE, 2020, pp. 1–7.

A. Fidalgo, I. Medeiros, P. Antunes, and N. Neves, "Towards a deep learning model for vulnerability detection on web application variants," in 2020 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW), IEEE, 2020, pp. 465–476.

F. A. Bhuiyan, A. Rahman, and P. Morrison, "Vulnerability discovery strategies used in software projects," in Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering, 2020, pp. 13–18.

T. Li, C. Song, and Q. Pang, "Defending against social engineering attacks: A security pattern‐based analysis framework," IET Information Security, vol. 17, no. 4, pp. 703–726, 2023.

F. M. Zennaro and L. Erdődi, "Modelling penetration testing with reinforcement learning using capture‐the‐flag challenges: Trade‐offs between model‐free learning and a priori knowledge," IET Information Security, vol. 17, no. 3, pp. 441–457, 2023.

M. F. Almufareh and M. Humayun, "Improving the safety and security of software systems by mediating SAP verification," Applied Sciences, vol. 13, no. 1, p. 647, 2023.

G. T. LaFlair, T. Langenfeld, B. Baig, A. K. Horie, Y. Attali, and A. A. von Davier, "Digital‐first assessments: A security framework," Journal of Computer Assisted Learning, vol. 38, no. 4, pp. 1077–1086, 2022.

T. E. Vos, P. Aho, F. Pastor Ricos, O. Rodriguez‐Valdes, and A. Mulders, "testar–scriptless testing through graphical user interface," Software Testing, Verification and Reliability, vol. 31, no. 3, p. e1771, 2021.

T. D. Oyetoyan and P. Morrison, "An improved text classification modelling approach to identify security messages in heterogeneous projects," Software Quality Journal, vol. 29, pp. 509–553, 2021.

M. Siavvas, D. Kehagias, D. Tzovaras, and E. Gelenbe, "A hierarchical model for quantifying software security based on static analysis alerts and software metrics," Software Quality Journal, vol. 29, no. 2, pp. 431–507, 2021.

T. Vassiliou-Gioles, "A simple, lightweight framework for testing RESTful services with TTCN-3," in 2020 IEEE 20th International Conference on Software Quality, Reliability and Security Companion (QRS-C), IEEE, 2020, pp. 498–505.

K. Razikin and B. Soewito, "Cybersecurity decision support model to designing information technology security system based on risk analysis and cybersecurity framework," Egyptian Informatics Journal, vol. 23, no. 3, pp. 383–404, 2022.

J. Henriques, F. Caldeira, T. Cruz, and P. Simões, "An automated closed-loop framework to enforce security policies from anomaly detection," Computers & Security, vol. 123, p. 102949, 2022.

R. Villalón-Fonseca, "The nature of security: A conceptual framework for integral-comprehensive modeling of IT security and cybersecurity," Computers & Security, vol. 120, p. 102805, 2022.

D. Granata, M. Rak, and G. Salzillo, "MetaSenD: A security enabled development life cycle Meta-model," in Proceedings of the 17th International Conference on Availability, Reliability and Security, 2022, pp. 1–10.

M. Alenezi, A. Agrawal, R. Kumar, and R. A. Khan, "Evaluating performance of web application security through a fuzzy based hybrid multi-criteria decision-making approach: Design tactics perspective," IEEE Access, vol. 8, pp. 25543–25556, 2020.

S. Hussain, H. Anwaar, K. Sultan, U. Mahmud, S. Farooqui, T. Karamat, and I. K. Toure, "Mitigating software vulnerabilities through secure software development with a policy‐driven waterfall model," Journal of Engineering, vol. 2024, no. 1, p. 9962691, 2024.

L. Yu, E. Alégroth, P. Chatzipetrou, and T. Gorschek, "Automated NFR testing in continuous integration environments: A multi-case study of Nordic companies," Empirical Software Engineering, vol. 28, no. 6, p. 144, 2023.

M. Calvo and M. Beltrán, "A model for risk-based adaptive security controls," Computers & Security, vol. 115, p. 102612, 2022.

Á. J. Varela-Vaca, D. G. Rosado, L. E. Sánchez, M. T. Gómez-López, R. M. Gasca, and E. Fernández-Medina, "CARMEN: A framework for the verification and diagnosis of the specification of security requirements in cyber-physical systems," Computers in Industry, vol. 132, p. 103524, 2021.

R. Diesch, M. Pfaff, and H. Krcmar, "A comprehensive model of information security factors for decision-makers," Computers & Security, vol. 92, p. 101747, 2020.

R. Kumar, A. I. Khan, Y. B. Abushark, M. M. Alam, A. Agrawal, and R. A. Khan, "An integrated approach of fuzzy logic, AHP and TOPSIS for estimating usable-security of web applications," IEEE Access, vol. 8, pp. 50944–50957, 2020.

M. Zarour, M. Alenezi, and K. Alsarayrah, "Software security specifications and design: How software engineers and practitioners are mixing things up," in Proceedings of the 24th International Conference on Evaluation and Assessment in Software Engineering, 2020, pp. 451–456.

C. Acartürk, M. Ulubay, and E. Erdur, "Continuous improvement on maturity and capability of Security Operation Centres," IET Information Security, vol. 15, no. 1, pp. 59–75, 2021.

E. Venson, B. Clark, and B. Boehm, "The effects of required security on software development effort," Journal of Systems and Software, vol. 207, p. 111874, 2024.

Y. Liu, W. Yang, Y. Wang, and Y. Liu, "An access control model for data security sharing cross‐domain in consortium blockchain," IET Blockchain, vol. 3, no. 1, pp. 18–34, 2023.

R. R. Althar, D. Samanta, S. Purushotham, S. S. Sengar, and C. Hewage, "Design and development of artificial intelligence knowledge processing system for optimizing security of software system," SN Computer Science, vol. 4, no. 4, p. 331, 2023.

S. Chang and Y. Duan, "[Retracted] Application of face recognition in e‐commerce security authentication in the era of big data," Security and Communication Networks, vol. 2022, no. 1, p. 4246750, 2022.

S. Applebaum, T. Gaber, and A. Ahmed, "Signature-based and machine-learning-based web application firewalls: A short survey," Procedia Computer Science, vol. 189, pp. 359–367, 2021.

A. K. Priyanka and S. S. Smruthi, "Web application vulnerabilities: Exploitation and prevention," in 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), IEEE, 2020, pp. 729–734.

S. McNally and K. Curran, "Web application vulnerabilities," in 2024 8th International Symposium on Computer Science and Intelligent Control (ISCSIC), IEEE, 2024, pp. 359–366.

S. Alazmi and D. C. De Leon, "A systematic literature review on the characteristics and effectiveness of web application vulnerability scanners," IEEE Access, vol. 10, pp. 33200–33219, 2022.

P. S. S. K. Gandikota, D. Valluri, S. B. Mundru, G. K. Yanala, and S. Sushaini, "Web application security through comprehensive vulnerability assessment," Procedia Computer Science, vol. 230, pp. 168–182, 2023.

M. A. Helmiawan, E. Firmansyah, I. Fadil, Y. Sofivan, F. Mahardika, and A. Guntara, "Analysis of web security using open web application security project 10," in 2020 8th International Conference on Cyber and IT Service Management (CITSM), IEEE, 2020, pp. 1–5.

R. Fang, R. Bindu, A. Gupta, and D. Kang, "LLM agents can autonomously exploit one-day vulnerabilities," arXiv preprint arXiv:2404.08144, 2024.

Y. Sadqi and Y. Maleh, "A systematic review and taxonomy of web applications threats," Information Security Journal: A Global Perspective, vol. 31, no. 1, pp. 1–27, 2022.

Y. Zhu, A. Kellermann, A. Gupta, P. Li, R. Fang, R. Bindu, and D. Kang, "Teams of LLM agents can exploit zero-day vulnerabilities," in Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), Mar. 2026, pp. 23–35.

A. Fadlil, I. Riadi, and M. A. Mumin, "Mitigation from SQL injection attacks on web server using Open Web Application Security Project framework," 2024.

J. Jacobs, S. Romanosky, I. Adjerid, and W. Baker, "Improving vulnerability remediation through better exploit prediction," Journal of Cybersecurity, vol. 6, no. 1, p. tyaa015, 2020.

J. Jacobs, S. Romanosky, B. Edwards, I. Adjerid, and M. Roytman, "Exploit prediction scoring system (EPSS)," Digital Threats: Research and Practice, vol. 2, no. 3, pp. 1–17, 2021.

Downloads

Published

2026-07-19

How to Cite

Nawaz, S., Yaseen, M., Mazhar, N., Rahman, G., Mustapha, A., & Bahar, A. (2026). Analysis of Web Application Security Threats Using the DBSCAN Clustering Technique. VFAST Transactions on Software Engineering, 14(3), 109–131. https://doi.org/10.21015/vtse.v14i3.2123