OpenID金融级API的扩展形式安全性分析
An Extensive Formal Security Analysis of the OpenID Financial-grade API
摘要:
迫于法规和行业需求,全球银行都在努力通过基于Web的API向第三方服务开放客户的在线银行账户。通过使用这些所谓的开放银行API,第三方公司(如金融科技公司)能够读取有关用户银行账户的信息并启动支付。这一领域最有前途的标准之一是OpenID金融级API(FAPI),目前由OpenID基金会在开放过程中开发,并得到大型行业合作伙伴的支持。FAPI是OAuth 2.0的配置文件,专为高风险场景设计,旨在抵御非常强大的攻击者。为了实现这种级别的安全性,FAPI采用了一系列为强化OAuth 2.0而开发的机制。在本文中,我们进行了严格的,系统的形式化分析的FAPI的安全性,Fett,Kuesters和Schmitz提出的Web基础设施模型(WIM)的基础上。为此,我们首先在WIM中开发FAPI的精确模型,包括不同的配置文件和安全功能的组合。然后,我们使用我们的FAPI模型来精确定义中央安全属性。在试图证明这些属性,我们发现部分严重的攻击,破坏身份验证,授权和会话完整性属性。我们开发了针对这些攻击的缓解措施,并最终能够正式证明FAPI固定版本的安全性。该分析对FAPI的开发做出了重要贡献,因为它有助于定义准确的安全属性和攻击者模型,并避免严重的安全风险。出于独立的兴趣,我们还发现了上述用于强化OAuth 2.0的安全机制中的弱点。我们说明,这些机制并不一定实现他们已经被设计的安全属性。
英文摘要:
Forced by regulations and industry demand, banks worldwide are working to open their customers' online banking accounts to third-party services via web-based APIs. By using these so-called Open Banking APIs, third-party companies, such as FinTechs, are able to read information about and initiate payments from their users' bank accounts. One of the most promising standards in this segment is the OpenID Financial-grade API (FAPI), currently under development in an open process by the OpenID Foundation and backed by large industry partners. The FAPI is a profile of OAuth 2.0 designed for high-risk scenarios and aiming to be secure against very strong attackers. To achieve this level of security, the FAPI employs a range of mechanisms that have been developed to harden OAuth 2.0. In this paper, we perform a rigorous, systematic formal analysis of the security of the FAPI, based on the Web Infrastructure Model (WIM) proposed by Fett, Kuesters, and Schmitz. To this end, we first develop a precise model of the FAPI in the WIM, including different profiles and combinations of security features. We then use our model of the FAPI to precisely define central security properties. In an attempt to prove these properties, we uncover partly severe attacks, breaking authentication, authorization, and session integrity properties. We develop mitigations against these attacks and finally are able to formally prove the security of a fixed version of the FAPI. This analysis is an important contribution to the development of the FAPI since it helps to define exact security properties and attacker models, and to avoid severe security risks. Of independent interest, we also uncover weaknesses in the aforementioned security mechanisms for hardening OAuth 2.0. We illustrate that these mechanisms do not necessarily achieve the security properties they have been designed for.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。