arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.12498cs.CRcs.CYcs.HCcs.NI
收藏

门垫上的钥匙:网络上暴露的API凭证

Keys on Doormats: Exposed API Credentials on the Web

Stanford University(斯坦福大学);University of California, Davis(加州大学戴维斯分校);TU Delft(代尔夫特理工大学)

Nurullah Demir, Yash Vekaria, Georgios Smaragdakis, Zakir Durumeric

AI总结:

研究网络上API凭证的暴露问题,发现大量凭证在网页中公开,包括全球银行和固件开发者的页面,通过分析1000万网页发现凭证暴露的广泛性及持续时间,提出网络特定的暴露原因和解决措施。

摘要:

应用程序编程接口(API)已成为现代IT环境的核心部分,允许开发者增强应用程序功能并与第三方服务(如云服务和支付提供商)交互。这种交互通常通过依赖敏感凭证(如API密钥和令牌)的认证机制进行,这些凭证需要安全处理。暴露这些凭证可能对组织造成重大影响,因为恶意攻击者可以访问相关服务。先前的研究显示这些敏感凭证在不同环境中暴露,如云平台和GitHub。然而,网络仍处于未探索状态。本文通过分析1000万网页研究网络上凭证的暴露情况,发现API凭证在网页上广泛且公开,包括全球银行和固件开发者的页面。我们从14个服务提供商(如云和支付提供商)的近10000个网页中识别出1748个不同的凭证。此外,我们对存档数据的分析表明凭证暴露的持续时间从一个月到数年不等。我们还确定了网络特定的暴露向量和根本原因,发现大多数起源于JavaScript环境。我们还讨论了我们的负责任披露努力的成果,证明了网络上凭证暴露的显著减少。

英文摘要:

API (Application Programming Interface) keys allow applications to authenticate themselves to third-party services. Inadvertent public exposure of these credentials can pose significant consequences, as adversaries can use them to gain privileged access to other services. In this paper, we measure API credential exposure on the web by analyzing 10M~rendered websites. Our findings reveal that API credential exposure on the web is widespread, affecting organizations such as global banks and core infrastructure providers. We identify 1,748~credentials for accessing 14~providers (e.g., cloud and payment services). Crucially, we demonstrate that these exposures are largely missed by static analysis. By characterizing web-specific exposure vectors and root causes, we find that 62\% of JavaScript-based exposures manifest exclusively within compiled deployment bundles, while 16\% propagate dynamically through third-party resource inclusions. Moreover, our longitudinal analysis shows these credentials often persist for months to years. We conclude by discussing our responsible disclosure efforts and outlining mitigations to secure web deployment pipelines in the future.

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

↑