Web services are becoming business-critical components, often deployed with critical software bugs that can be maliciously explored. Web vulnerability scanners allow the detection of security vulnerabilities in web services by stressing the service from the point of view of an attacker. However, research and practice show that different scanners perform differently in vulnerability detection. This paper presents a qualitative evaluation of security vulnerabilities found in web applications. Some well-known vulnerability scanners have been used to identify security flaws in web service implementations. Many vulnerabilities have been observed, which confirms that many services are deployed without proper security testing. Additionally, having reviewed and considered several articles, the differences in the vulnerabilities detected and the high number of false positives observed highlight the limitations of web vulnerability scanners in detecting security vulnerabilities in web services. Furthermore, this work will discuss the static analysis approach for discovering security vulnerabilities in web applications and complimenting it with proven research findings or solutions. These vulnerabilities include broken access control, cross-site scripting, SQL injections, buffer overflow, unrestricted file upload, broken authentications, etc. Web applications are becoming mission-essential components for businesses, potentially risking having several software vulnerabilities that hackers can exploit maliciously. A few Vulnerability scanners have been used to detect security weaknesses in web service applications, and many vulnerabilities have been discovered, thus confirming that many online apps are launched without sufficient security testing.
XSS Peeker: A Systematic Analysis of Cross-site Scripting Vulnerability Scanners
自2004年首次发布“OWASP Top 10”以来,跨站脚本(XSS)漏洞一直是Web应用程序安全漏洞的前5名。黑盒漏洞扫描器被广泛用于自动复制(XSS)攻击。尽管技术复杂和先进,以前的工作表明,黑匣子扫描器错过了一个不可忽视的部分漏洞,并报告不存在,不可利用或无趣的漏洞。不幸的是,这些结果甚至适用于XSS漏洞,如果与逻辑缺陷相比,这些漏洞相对容易触发。黑盒扫描仪在这方面还没有深入研究:准确了解扫描仪如何检测XSS可以提供有用的见解,以了解其局限性,设计更好的检测方法。在本文中,我们提出并讨论了一个详细的和系统的研究结果6黑盒网络扫描仪(专有和开源),我们进行了协调与各自的供应商。为此,我们开发了一个自动化工具来(1)提取每个扫描仪使用的有效载荷,(2)提取产生每个有效载荷的“模板”,(3)根据质量指标对其进行评估,以及(4)执行跨扫描仪分析。与以前的工作不同,我们的测试床应用程序包含大量的XSS漏洞,包括DOM XSS,它逐渐被改造以适应没有触发漏洞的有效负载。我们的分析揭示了一个高度分散的场景。扫描仪表现出各种各样的不同的有效载荷,模糊和突变的有效载荷的非统一的方法,和一个非常不同的检测效果。
XSS for the Masses: Integrating Security in a Web Programming Course using a Security Scanner
网络安全教育被认为是本科计算机课程的重要组成部分,但许多机构只在专门的课程或轨道中教授它。这种选择性有可能使学生毕业时接触到行业中预期的安全编码实践的机会有限。另一种方法是在非安全课程中整合网络安全概念,以便让学生了解安全与其他计算子领域之间的相互作用。在本文中,我们报告我们的经验,应用安全集成的方法,本科网络编程课程。特别是,我们添加了安全编码的实用介绍,通过示例突出了OWASP Top 10漏洞,并演示了如何使用开箱即用的安全扫描工具(例如ZAP)识别它们。此外,我们通过提供奖励分数来激励学生在自己的课程项目中使用这些工具。为了评估这种干预的影响,我们扫描了过去三年学生的项目代码,发现漏洞数量减少了。最后,在焦点小组和调查中,学生们分享了我们的干预有助于提高认识,但他们也强调了分级激励的重要性以及更早教授安全内容的必要性。
Web通信已成为移动应用程序不可或缺的特性。然而,目前尚不清楚这些应用程序传输了哪些数据,传输给了谁,以及这种传输会产生什么后果。我们从安全的角度分析了移动应用程序中的Web通信。我们首先手动研究了160个Android应用程序,以确定常用的通信库,并了解它们在这些应用程序中的使用方式。然后,我们开发了一个工具来静态识别应用程序中使用的Web API URL,并恢复JSON数据模式,包括每个参数的类型和值。我们提取了3,376个应用程序中使用的9,714个不同的Web API URL。我们发现开发人员经常使用java.net包进行网络通信,但是,许多应用程序中也使用了OkHttp等第三方库。我们发现,不安全的HTTP连接在闭源应用程序中的普遍程度是开源应用程序的七倍,并且嵌入式SQL和JavaScript代码在500多个不同的应用程序中用于Web通信。这一发现是毁灭性的;它使数十亿用户和API服务提供商容易受到攻击。