arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2612.05131cs.SEcs.CR
收藏

PathConFuzz:基于路径分析的Web应用约束导向模糊测试

PathConFuzz: Constraint-Guided Fuzzing via Path Analysis for Web Applications

School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);School of Computer Science and Engineering, Macau University of Science and Technology(澳门科技大学计算机科学与工程系);State Key Laboratory for Novel Software Technology, Nanjing University(南京大学软件新技术国家重点实验室);School of Artificial Intelligence (Institute of Artificial Intelligence), Beihang University(北京航空航天大学人工智能学院(人工智能研究院));Department of Computing Technologies, Swinburne University of Technology(斯威本科技大学计算技术系)

Xiarun Chen, Jiaxing Xu, Chenhui Cui, Chunrong Fang, Wenjun Wu, Weiping Wen, Tao Li, Rubing Huang, Tsong Yueh Chen

AI总结:

本研究提出PathConFuzz框架,结合静态分析与LLM语义推理实现Web应用约束导向模糊测试,在Java数据集及开源项目评估中,其确认多数基准漏洞并发现17个含16个CVE的未知漏洞。

摘要:

自动化漏洞检测对Web应用安全至关重要。尽管模糊测试被广泛采用,但复杂的结构和语义约束导致现有模糊测试器生成无效输入,无法触及敏感操作。静态分析可识别敏感操作的候选路径,但仅报告潜在可达性,而非具体触发输入或已确认的可利用性。大型语言模型(LLM)可提取隐式约束,但直接将其应用于Web模糊测试时,难以应对复杂执行路径和推理错误。我们提出PathConFuzz,一种结合静态分析与LLM语义推理的约束导向模糊测试框架。查询模型生成CodeQL查询以定位候选路径,约束模型恢复结构化路径约束,经LLM映射转换为可复用的模糊测试配置。相关发现需通过动态执行确认。我们构建了包含1802条带注释路径的Java数据集,并在开源项目上评估PathConFuzz:默认模型qwen-7b(FL)的F1值达87.59%,PathConFuzz确认了72个基准主漏洞中的60.4个、21个扩展基准漏洞中的20个,同时发现17个未知漏洞(含16个CVE)。

英文摘要:

Automated vulnerability detection is essential for web application security. Although fuzzing is widely adopted, complex structural and semantic constraints cause existing fuzzers to generate invalid inputs that fail to reach sensitive operations. Static analysis identifies candidate paths to sensitive operations, yet reports only potential reachability rather than concrete triggering inputs or confirmed exploitability. While large language models (LLMs) can extract implicit constraints, applying them directly to web fuzzing struggles with complex execution paths and reasoning errors. We propose PathConFuzz, a constraint-guided fuzzing framework integrating static analysis with LLM semantic reasoning. A query model produces CodeQL queries to locate candidate paths, and a constraint model recovers structured path constraints that LLM mapping translates into reusable fuzzing configurations. Findings require dynamic execution confirmation. We build a Java dataset of 1802 annotated paths and evaluate PathConFuzz on open-source projects. The default model qwen-7b(FL) achieves 87.59% F1, and PathConFuzz confirms 60.4 of 72 main and 20 of 21 extended benchmark vulnerabilities while discovering 17 unknown vulnerabilities (16 CVEs).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑