Broken Access Control Risks in Open Source Javascript Projects: A Security Analysis
2026 (Engelska)Ingår i: Proceedings - 2026 IEEE International Conference on Software Analysis, Evolution and Reengineering - Companion, SANER-C 2026, Institute of Electrical and Electronics Engineers (IEEE), 2026, s. 222-229Konferensbidrag, Publicerat paper (Refereegranskat)
Abstract [en]
Context: Broken Access Control (BAC) is ranked by OWASP as the most critical web security risk. Open-source JavaScript projects, with their openness and diverse contributors, are particularly exposed. Objective: This study investigates the prevalence and patterns of BAC vulnerabilities in open-source JavaScript projects, addressing the lack of empirical evidence beyond enterprise systems. Method: A hybrid approach combined Semgrep static analysis with manual penetration testing. A curated set of 166 GitHub repositories was scanned using custom rules for Insecure Direct Object Reference (IDOR), unprotected routes, forced browsing, and token/session flaws; flagged cases were validated in Docker with Postman. Results: Static analysis flagged 33 repositories as potentially vulnerable, of which 5 were confirmed to contain exploitable BAC vulnerabilities through manual penetration testing. Confirmed issues included unauthenticated endpoints, parameter-based privilege escalation, and insecure token or Cross-Origin Resource Sharing (CORS) handling. Static analysis was useful, but showed high false positives and limited contextual accuracy. Conclusion: BAC vulnerabilities recur in open-source JavaScript projects. Static tools aid in detection but require manual validation for reliable assessment.
Ort, förlag, år, upplaga, sidor
Institute of Electrical and Electronics Engineers (IEEE), 2026. s. 222-229
Nyckelord [en]
Broken Access Control, JavaScript, Penetration Testing, Security, Semgrep, Static Analysis
Nationell ämneskategori
Data- och informationsvetenskap
Identifikatorer
URN: urn:nbn:se:miun:diva-57844DOI: 10.1109/SANER-C67878.2026.00036ISI: 001838999200029Scopus ID: 2-s2.0-105040703027ISBN: 9798331585891 (digital)OAI: oai:DiVA.org:miun-57844DiVA, id: diva2:2078928
Konferens
2026 IEEE International Conference on Software Analysis, Evolution and Reengineering - Companion, SANER-C 2026
2026-06-242026-06-242026-10-16Bibliografiskt granskad