Lune

CCS2026顶会

BACAgent: LLM-Powered Detection of Broken-Access-Control Vulnerabilities in Web Applications

Fengyu Liu, Yuan Zhang, Zheng Lou, Tian Chen, Youkun Shi, Jiarun Dai, Enhao Li, Guangyu Zhou, Zhongfu Su, Zequn Fang

问 Lune

摘要

Broken-Access-Control (BAC) vulnerabilities have long been recognized as one of the most severe security threats in web applications and have consistently ranked among the top risks in the OWASP Top 10. These vulnerabilities arise when applications fail to enforce intended access control policies, allowing attackers to perform unauthorized operations on protected resources and leading to serious security and privacy consequences. Despite extensive research on BAC vulnerability detection, existing approaches remain limited in effectiveness, particularly in accurately determining what access control is intended for a given resource. In this paper, we present BACAgent, a novel white-box approach to detect BAC vulnerabilities in web applications. BACAgent revisits BAC vulnerability detection from the perspective of inferring intended Access Control Policies (ACPs). Our key insight is that, although explicit ACP documentation is often absent, real-world applications implicitly encode rich authorization intent throughout the codebase. Based on this insight, BACAgent adopts a three-step approach to infer intended ACPs and detect BAC vulnerabilities. First, BACAgent leverages LLM together with the RAG technique to identify and interpret implemented access control, treating them as code-level evidence. Next, BACAgent extracts semantic-level evidence from the codebase and jointly reasons over both code-level and semantic-level evidence to infer the intended ACPs. Finally, BACAgent detects BAC vulnerabilities by identifying inconsistencies between the inferred ACPs and implemented access control. We evaluate BACAgent on 25 open-source applications and 5 industrial applications developed in Java, PHP, and Go. BACAgent successfully detects 157 BAC vulnerabilities, including 65 previously unknown ones, significantly outperforming state-of-the-art techniques. We responsibly disclosed all newly discovered vulnerabilities. To date, 51 new CVE IDs have been assigned.

问 Lune

几分钟看清这篇 Paper 的位置,不用再花一下午。

Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

摘要 · 相关的 Paper

获取答案

免费开始,无需绑卡

相关 Paper

  1. BACScan: Automatic Black-Box Detection of Broken-Access-Control Vulnerabilities in Web ApplicationsFengyu Liu, Yuan Zhang, Enhao Li, Wei Meng 等CCS 2025
  2. Beacon: Detecting Broken Access Control Vulnerabilities in DBMSs via System Catalog Consistency ValidationZongrui Peng, Jingzhou Fu, Zhiyong Wu, Jie Liang 等OOPSLA 2026
  3. Detecting Broken Object-Level Authorization Vulnerabilities in Database-Backed ApplicationsYongheng Huang, Chenghang Shi, Jie Lu, Haofeng Li 等CCS 2024 · 4 次引用
  4. BACHunter: Detecting Broken Access Control Vulnerabilities in Intelligent Connected VehiclesYanbang Sun, Xiaohong Li, Quanzhou Wang, Hebo Leng 等S&P 2026
  5. 403 Forbidden? Ethically Evaluating Broken Access Control in the WildSaiid El Hajj Chehade, Florian Hantke, Ben StockS&P 2025
黄昏的海面,两侧是细线勾勒的悬崖