arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.01017cs.CR
收藏

对抗XSS攻击:OWASP ESAPI输出编码的可用性评估

Fighting Against XSS Attacks: A Usability Evaluation of OWASP ESAPI Output Encoding

Chamila Wijayarathna, Nalin Asanka Gamagedara Arachchilage

摘要:

跨站脚本(XSS)是Web应用程序中存在的最严重的漏洞之一。XSS可以通过对加载到Web应用程序的浏览器内容中的不受信任的数据进行编码来防止。安全应用程序编程接口(API),如OWASP ESAPI,为程序员提供输出编码功能,以保护其应用程序免受XSS攻击。然而,XSS仍然被列为Web应用程序中最关键的漏洞之一,这表明程序员没有有效地使用这些API来编码不受信任的数据。因此,我们与10名程序员进行了一项实验研究,他们试图使用OWASP ESAPI的输出编码功能修复Web应用程序的XSS漏洞。结果显示程序员犯了3种类型的错误,导致他们无法通过删除XSS漏洞来修复应用程序。我们还确定了OWASP ESAPI的16个可用性问题。我们发现这些可用性问题中的一些是程序员犯错误的原因。基于这些结果,我们提供了如何提高输出编码API的可用性的建议,以给程序员提供更好的体验。

英文摘要:

Cross Site Scripting (XSS) is one of the most critical vulnerabilities exist in web applications. XSS can be prevented by encoding untrusted data that are loaded into browser content of web applications. Security Application Programming Interfaces (APIs) such as OWASP ESAPI provide output encoding functionalities for programmers to use to protect their applications from XSS attacks. However, XSS still being ranked as one of the most critical vulnerabilities in web applications suggests that programmers are not effectively using those APIs to encode untrusted data. Therefore, we conducted an experimental study with 10 programmers where they attempted to fix XSS vulnerabilities of a web application using the output encoding functionality of OWASP ESAPI. Results revealed 3 types of mistakes that programmers made which resulted in them failing to fix the application by removing XSS vulnerabilities. We also identified 16 usability issues of OWASP ESAPI. We identified that some of these usability issues as the reason for mistakes that programmers made. Based on these results, we provided suggestions on how the usability of output encoding APIs should be improved to give a better experience to programmers.

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

↑