OpenID Connect程序的自动化修复(扩展版)
Automated Repair of OpenID Connect Programs (Extended Version)
AI总结:
针对OpenID Connect协议存在安全漏洞的问题,提出集成故障定位、补丁合成、验证组件且基于Petri网模型检验器的反例引导修复引擎AuthFix,在23个漏洞数据集上实现74%的正确修复率。
摘要:
OpenID Connect凭借单点登录(SSO)机制革新了在线身份认证,为用户使用单组凭证访问多个服务提供了安全便捷的方式。尽管该协议已被广泛采用,但其存在的关键安全漏洞已造成重大经济损失与安全 breach,凸显了制定可靠缓解策略的必要性。自动化程序修复为生成OpenID实现的候选补丁提供了颇具前景的解决方案,但仍需应对领域特定复杂性、精准故障定位与补丁验证必要性等挑战。我们提出AuthFix——一种利用大语言模型(LLMs)实现OpenID漏洞自动修复的反例引导修复引擎。AuthFix集成三大核心组件:故障定位、补丁合成与补丁验证。通过采用一种新型基于Petri网(佩特里网)的模型检验器,AuthFix可有效建模交互过程,确保补丁的正确性。我们在一个OpenID漏洞数据集上开展评估,结果显示AuthFix成功为23个漏洞中的17个(占比74%)生成了正确补丁,且其中高比例补丁与开发者编写的修复方案在语义上等价。
英文摘要:
OpenID Connect has revolutionized online authentication based on single sign-on (SSO) by providing a secure and convenient method for accessing multiple services with a single set of credentials. Despite its widespread adoption, critical security bugs in OpenID Connect have resulted in significant financial losses and security breaches, highlighting the need for robust mitigation strategies. Automated program repair presents a promising solution for generating candidate patches for OpenID implementations. However, challenges such as domain-specific complexities and the necessity for precise fault localization and patch verification must be addressed. We propose AuthFix, a counterexample-guided repair engine leveraging LLMs for automated OpenID bug fixing. AuthFix integrates three key components: fault localization, patch synthesis, and patch verification. By employing a novel Petri-net-based model checker, AuthFix ensures the correctness of patches by effectively modeling interactions. Our evaluation on a dataset of OpenID bugs demonstrates that AuthFix successfully generated correct patches for 17 out of 23 bugs (74%), with a high proportion of patches semantically equivalent to developer-written fixes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。