Skip to content

Ichnia: Semantic Effect Oracles for Black-Box Broken Access Control Detection in Web Applications

Ruozhao Yang, Jiongchi Yu, Yuqiang Sun, Junjie Wang, Xiaofei Xie

cs.CR

Abstract

Broken access control (BAC) vulnerabilities have long ranked among the most critical threats to Web applications and the leading risks in the OWASP Top 10. They allow attackers to bypass intended access control policies and perform unauthorized operations on protected resources, threatening data confidentiality and business integrity. Existing black-box approaches typically verify operation effects by comparing responses or tracking injected request values across subsequent responses. However, these approaches can miss unauthorized operations that change application state or the actions available to users without producing distinctive responses or observable value propagation. In this paper, we present Ichnia, a novel black-box approach for detecting BAC vulnerabilities in Web applications. Ichnia introduces a semantic effect oracle that determines whether unauthorized operations change protected application state. Our key insight is that operation-specific postconditions provide semantic targets for discovering Web-visible evidence of these effects. Based on this insight, Ichnia first infers the expected postconditions of operations from Web interactions. Next, it uses these postconditions to guide the discovery of executable verification paths through state observations and behavioral probes. Finally, it validates these paths through authorized executions and applies the resulting oracles in unauthorized differential testing. We evaluate Ichnia on 20 real-world Web applications developed in Java, PHP, and Go. Ichnia successfully detects 103 BAC vulnerabilities, including 31 previously unknown ones, significantly outperforming state-of-the-art approaches. We responsibly disclosed all newly discovered vulnerabilities. To date, 18 new CVE IDs have been assigned.

Create a lesson

Metadata

Categories
cs.CR, cs.SE