在岩浆房内:自动输入生成器比较中地面真实漏洞复兴的更新与挑战
In the Magma chamber: Update and challenges in ground-truth vulnerabilities revival for automatic input generator comparison
AI总结:
本研究评估Magma漏洞基准前向移植方法四年后的可维护性,手动重新引入32个CVE中的漏洞,发现17个可简单移植,9个需额外还原提交,并总结了挑战,为可持续模糊测试基准奠定基础。
摘要:
模糊测试是一种成熟的检测错误和漏洞的技术。随着诸如AFL和OSSFuzz等模糊测试器及模糊测试平台的激增,对这些工具性能进行基准测试的需求也随之上升。一个常见的问题是,漏洞基准基于旧软件版本中的错误。正因如此,Magma引入了前向移植的概念,以在当前软件版本中重新引入易受攻击的代码。尽管其结果令人鼓舞,但现有技术缺乏关于该方法随时间可维护性的更新。实际上,将易受攻击的代码添加到最近的软件版本中,可能会破坏其功能或使该代码不再可达。我们通过重新评估Magma的CVE在其发布四年后的可移植性,并手动在当前软件版本中重新引入漏洞,来刻画前向移植的挑战。我们发现,对于研究中的32个CVE中的17个,直接过程是有效的。我们进一步调查了为何简单的前向移植过程在其他15个CVE中失败。这涉及识别破坏前向移植过程的提交,并在修复错误之外将其还原。虽然我们设法完成了其中九个CVE的过程,但我们提供了所有15个CVE的更新,并解释了在此过程中遇到的挑战。因此,我们为未来朝着可持续的前向移植模糊测试基准的工作奠定了基础。
英文摘要:
Fuzzing is a well-established technique for detecting bugs and vulnerabilities. With the surge of fuzzers and fuzzer platforms being developed such as AFL and OSSFuzz rises the necessity to benchmark these tools' performance. A common problem is that vulnerability benchmarks are based on bugs in old software releases. For this very reason, Magma introduced the notion of forward-porting to reintroduce vulnerable code in current software releases. While their results are promising, the state-of-the-art lacks an update on the maintainability of this approach over time. Indeed, adding the vulnerable code to a recent software version might either break its functionality or make the vulnerable code no longer reachable. We characterise the challenges with forward-porting by reassessing the portability of Magma's CVEs four years after its release and manually reintroducing the vulnerabilities in the current software versions. We find the straightforward process efficient for 17 of the 32 CVEs in our study. We further investigate why a trivial forward-porting process fails in the 15 other CVEs. This involves identifying the commits breaking the forward-porting process and reverting them in addition to the bug fix. While we manage to complete the process for nine of these CVEs, we provide an update on all 15 and explain the challenges we have been confronted with in this process. Thereby, we give the basis for future work towards a sustainable forward-ported fuzzing benchmark.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。