More Haste, Less Speed: Cache Related Security Threats in Continuous Integration Services

被引:0
|
作者
Gu, Yacong [1 ,4 ]
Ying, Lingyun [2 ,4 ]
Chai, Huajun [2 ]
Pu, Yingyuan [2 ]
Duan, Haixin [1 ,4 ]
Gao, Xing [3 ]
机构
[1] Tsinghua Univ, Beijing, Peoples R China
[2] QI ANXIN Technol Res Inst, Singapore, Singapore
[3] Univ Delaware, Newark, DE USA
[4] Tsinghua Univ, QI ANXIN Grp JCNS, Beijing, Peoples R China
基金
美国国家科学基金会;
关键词
D O I
10.1109/SP54263.2024.00138
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Continuous Integration (CI) platforms have widely adopted caching to speed up CI task executions by storing and reusing dependent packages. Unfortunately, CI cache also exposes new attack surfaces when cache objects are shared across trust boundaries. In this paper, we systematically investigate potential security threats of CI cache features in seven mainstream CI platforms (CIPs). We find that existing CIPs have isolation issues in their cache sharing and inheritance strategies, potentially raising cache poisoning and data leakage problems. By exploiting these vulnerable mechanisms, we further uncover four attack vectors enabling attackers to stealthily inject malicious code into the cache or steal sensitive data. Even worse, many CIPs provide vulnerable official cache templates that will mistakenly store and expose sensitive data in the cache by default. To understand the potential impact of our disclosed threats, we develop an analysis tool and conduct a large-scale measurement on open-source repositories. Our measurement results show that many popular repositories are potentially affected by these attacks. We also identify 78 repositories that expose their high-value secrets in cache objects and are at risk of secret leakage. We have duly reported identified vulnerabilities to corresponding stakeholders and received positive responses.
引用
收藏
页码:1179 / 1197
页数:19
相关论文
共 50 条
  • [1] MORE HASTE, LESS SPEED
    DIRKSEN, G
    PRAKTISCHE TIERARZT, 1985, 66 (02): : 150 - 152
  • [2] More haste, less speed
    不详
    NAVAL ARCHITECT, 2012, : 27 - 28
  • [3] MORE HASTE, LESS SPEED
    不详
    ELECTRONICS AND POWER, 1976, 22 (03): : 189 - 189
  • [4] MORE SPEED, LESS HASTE
    不详
    LANCET, 1960, 1 (MAR12): : 582 - 583
  • [5] More haste, less speed
    不详
    LANCET ONCOLOGY, 2003, 4 (06): : 325 - 325
  • [6] More haste, considerabty less speed
    Rodgers, R. J.
    JOURNAL OF PSYCHOPHARMACOLOGY, 2007, 21 (02) : 141 - 143
  • [7] Commentary: More haste, less speed
    Weltert, Luca Paolo
    Di Mauro, Michele
    JTCVS TECHNIQUES, 2020, 3 : 91 - 91
  • [8] More haste, less speed for quolls
    Joyce, William
    JOURNAL OF EXPERIMENTAL BIOLOGY, 2017, 220 (17): : 3003 - 3004
  • [9] RADIATION EXPOSURE - MORE HASTE, LESS SPEED
    ALDHOUS, P
    NATURE, 1990, 344 (6264) : 283 - 283
  • [10] Critical minerals for sustainability: More haste, less speed
    Wang, Yao
    Tzachor, Asaf
    Wang, Heming
    Chen, Wei-Qiang
    RESOURCES CONSERVATION AND RECYCLING, 2023, 198