基于大模型语义理解的越权漏洞黑盒检测方法
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP309

基金项目:

国家自然科学基金联合基金重点项目(U2436207)


Black-box Detection Method for Broken-access-control Vulnerabilities via LLM-based Semantic Understanding
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    越权漏洞是Web应用中极为常见且危害显著的一类漏洞. 攻击者可利用该漏洞对受保护资源执行未授权读取或操作, 造成敏感数据的泄露或篡改. 黑盒检测是一类被普遍采用的越权漏洞检测方式, 其通过分析HTTP请求与响应来检测漏洞. 然而, 由于缺乏对请求响应语义的理解, 现有方法既难以区分读取类请求返回的是公开响应还是敏感响应, 也无法准确识别操作类请求的反馈响应, 产生较多误报和漏报. 为解决上述问题, 提出一种基于大模型语义理解的越权漏洞黑盒检测方法. 通过提取请求响应中的敏感资源、业务功能语义, 构建多维语义增强的请求响应图, 有效区分敏感响应、识别反馈响应, 从而准确检测读取类、操作类越权. 基于上述方法实现了越权漏洞检测原型系统BACHunter. 实验结果表明, 在包含10个真实Web应用的数据集中, BACHunter共检测出62个越权漏洞, 其中14个为0-day漏洞, 精确率、召回率分别为93.94%、88.89%, 较现有先进检测方法分别提升23.30%、25.93%. 目前已获11个CVE编号, 验证了其实际应用价值.

    Abstract:

    Broken-access-control (BAC) vulnerabilities are a common and serious class of vulnerabilities in Web applications. By exploiting these vulnerabilities, attackers can carry out unauthorized reads of protected resources or unauthorized operations on them, leading to the disclosure or tampering of sensitive data. Black-box detection, which analyzes HTTP requests and responses, is widely adopted for detecting BAC vulnerabilities. However, because existing methods lack semantic understanding of requests and responses, they struggle to distinguish whether the response returned by a read-type request is a public response or a sensitive response, and also fail to accurately identify feedback responses of operation-type requests, resulting in considerable false positives and false negatives. To address these problems, this study proposes a black-box detection method for BAC vulnerabilities based on LLM-based semantic understanding. By extracting the semantics of sensitive resources and business functions from requests and responses, a request-response graph enhanced with multidimensional semantics is developed. This graph effectively distinguishes sensitive responses and identifies feedback responses, enabling accurate detection of read-type and operation-type BAC vulnerabilities. Based on the proposed method, a prototype system for BAC vulnerability detection, BACHunter, is implemented. Experimental results on a dataset containing 10 real-world Web applications show that BACHunter detects a total of 62 BAC vulnerabilities, including 14 0-day vulnerabilities, and achieves precision and recall of 93.94% and 88.89%, respectively, improving upon existing state-of-the-art detection methods by 23.30% and 25.93%, respectively. To date, 11 CVE IDs have been assigned, demonstrating the practical value of the proposed method.

    参考文献
    相似文献
    引证文献
引用本文

刘丰毓,张源,张淇伊,陈添,施游堃,杨珉.基于大模型语义理解的越权漏洞黑盒检测方法.软件学报,,():1-17

复制
相关视频

分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2026-04-24
  • 最后修改日期:2026-05-24
  • 录用日期:
  • 在线发布日期: 2026-09-02
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号