Securing web applications against SQL injection attacks - A Parameterised Query perspective)

J. Okesola, A. Ogunbanwo, Ayoade A. Owoade, Emmanuel O. Olorunnisola, Kennedy Okokpuji
{"title":"Securing web applications against SQL injection attacks - A Parameterised Query perspective)","authors":"J. Okesola, A. Ogunbanwo, Ayoade A. Owoade, Emmanuel O. Olorunnisola, Kennedy Okokpuji","doi":"10.1109/SEB-SDG57117.2023.10124613","DOIUrl":null,"url":null,"abstract":"SQL Injection attack is a major threat to web applications and source of concerns to e-commerce in particular. The attack bypasses major security measures to execute malicious SQL codes and have absolute control of the database server behind the web application. Going by millions of dollars being spent yearly by various organizations to guide against the attack, it is imperative to have a better understanding of how SQL Injection works and how best it could be prevented. Using an e-commerce application as a case study, this paper demonstrates how Parameterized Queries could be used to defend SQL Injection attacks. With prepared statements in Java where LoginController was employed as the Servlet to control the application login procedure, Parameterized Queries were successfully incorporated into an e-commerce application. The implementation results shows that SQL injection is no longer possible as every code from attackers could not be executed because input was set to be data and data would be treated differently from codes.","PeriodicalId":185729,"journal":{"name":"2023 International Conference on Science, Engineering and Business for Sustainable Development Goals (SEB-SDG)","volume":"272 3","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-04-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Conference on Science, Engineering and Business for Sustainable Development Goals (SEB-SDG)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SEB-SDG57117.2023.10124613","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

SQL Injection attack is a major threat to web applications and source of concerns to e-commerce in particular. The attack bypasses major security measures to execute malicious SQL codes and have absolute control of the database server behind the web application. Going by millions of dollars being spent yearly by various organizations to guide against the attack, it is imperative to have a better understanding of how SQL Injection works and how best it could be prevented. Using an e-commerce application as a case study, this paper demonstrates how Parameterized Queries could be used to defend SQL Injection attacks. With prepared statements in Java where LoginController was employed as the Servlet to control the application login procedure, Parameterized Queries were successfully incorporated into an e-commerce application. The implementation results shows that SQL injection is no longer possible as every code from attackers could not be executed because input was set to be data and data would be treated differently from codes.
保护web应用程序免受SQL注入攻击——参数化查询的视角)
SQL注入攻击是对web应用程序的主要威胁,尤其是对电子商务的威胁。这种攻击绕过了主要的安全措施来执行恶意SQL代码,并且完全控制了web应用程序背后的数据库服务器。由于各种组织每年花费数百万美元来指导防止攻击,因此有必要更好地了解SQL注入的工作原理以及如何最好地防止它。本文以一个电子商务应用程序为例,演示了如何使用参数化查询来防御SQL注入攻击。使用Java中准备好的语句,其中LoginController被用作控制应用程序登录过程的Servlet,参数化查询被成功地合并到电子商务应用程序中。实现结果表明,SQL注入不再是可能的,因为攻击者的每个代码都不能执行,因为输入被设置为数据,并且数据将与代码区别对待。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信