IDORacle: Template-Guided SQL-Sink Mediation for Object-Level Authorization in Java Applications

📅 2026-09-11
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出IDORacle框架,通过模板引导的SQL拦截与重写技术,在运行时防止Java应用中的不安全直接对象引用问题。
📝 Abstract
Insecure Direct Object Reference (IDOR), often modeled as Broken Object-Level Authorization (BOLA), remains prevalent in Java database applications because identity and authorization checks at the controller or service layer are disconnected from SQL execution based on resource identifiers. Existing work largely detects these vulnerabilities but offers limited low-intrusion runtime protection for legacy Java-SQL applications. We present IDORacle, a template-guided SQL-sink interception and rewriting framework for preventing horizontal privilege escalation at runtime. IDORacle propagates authenticated identity context across HTTP requests, asynchronous tasks, and data-access boundaries through a server-side trace identifier. At the MyBatis/JDBC boundary, it extracts SQL templates, computes dual fingerprints, and performs one-time template analysis to generate reusable mediation plans. During execution, it combines subject context, SQL ASTs, table metadata, and cached authorization proofs to permit, rewrite, or block operations. Its guard model supports direct ownership predicates, join-derived ownership, probes for group-owned resources, role-sensitive state transitions, and sensitive-column mediation. A Java-SQL benchmark grounded in real-world CVE reports shows that IDORacle prevents the tested horizontal authorization violations with a worst-case guard latency of 0.17 ms. Redundancy-aware optimization reduces average per-instance overhead by more than 90%, to 0.017 ms for hot SQL templates.
Problem

Research questions and friction points this paper is trying to address.

Insecure Direct Object Reference
Broken Object-Level Authorization
Java database applications
runtime protection
Innovation

Methods, ideas, or system contributions that make the work stand out.

template-guided
SQL-sink interception
object-level authorization
dual fingerprints
redundancy-aware optimization
💼 Related Jobs
No related jobs found.
Y
Yuewantong Song
School of Computer Science and Artificial Intelligence, Zhengzhou University, Zhengzhou, China
G
Guanhang Shi
School of Computer Science, Fudan University, Shanghai, China; Institute of Big Data, Fudan University, Shanghai, China
Y
Yin Cai
School of Computer Science, Fudan University, Shanghai, China; Institute of Big Data, Fudan University, Shanghai, China
C
Changhui Wang
School of Computer Science, Fudan University, Shanghai, China; Institute of Big Data, Fudan University, Shanghai, China
Jin Wei
Jin Wei
Lenovo Research
P
Ping Chen
Institute of Big Data, Fudan University, Shanghai, China
L
Lei Shi
School of Cyber Science and Engineering, Zhengzhou University, Zhengzhou, China
J
Jiangxing Wu
School of Computer Science and Artificial Intelligence, Zhengzhou University, Zhengzhou, China; Institute of Big Data, Fudan University, Shanghai, China