Automating Structured Query Language Injection and Cross-Site Scripting Vulnerability Remediation in Code

Software Pub Date : 2024-01-12 DOI:10.3390/software3010002
Kedar Sambhus, Yi Liu
{"title":"Automating Structured Query Language Injection and Cross-Site Scripting Vulnerability Remediation in Code","authors":"Kedar Sambhus, Yi Liu","doi":"10.3390/software3010002","DOIUrl":null,"url":null,"abstract":"Internet-based distributed systems dominate contemporary software applications. To enable these applications to operate securely, software developers must mitigate the threats posed by malicious actors. For instance, the developers must identify vulnerabilities in the software and eliminate them. However, to do so manually is a costly and time-consuming process. To reduce these costs, we designed and implemented Code Auto-Remediation for Enhanced Security (CARES), a web application that automatically identifies and remediates the two most common types of vulnerabilities in Java-based web applications: SQL injection (SQLi) and Cross-Site Scripting (XSS). As is shown by a case study presented in this paper, CARES mitigates these vulnerabilities by refactoring the Java code using the Intercepting Filter design pattern. The flexible, microservice-based CARES design can be readily extended to support other injection vulnerabilities, remediation design patterns, and programming languages.","PeriodicalId":516628,"journal":{"name":"Software","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-01-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Software","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/software3010002","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Internet-based distributed systems dominate contemporary software applications. To enable these applications to operate securely, software developers must mitigate the threats posed by malicious actors. For instance, the developers must identify vulnerabilities in the software and eliminate them. However, to do so manually is a costly and time-consuming process. To reduce these costs, we designed and implemented Code Auto-Remediation for Enhanced Security (CARES), a web application that automatically identifies and remediates the two most common types of vulnerabilities in Java-based web applications: SQL injection (SQLi) and Cross-Site Scripting (XSS). As is shown by a case study presented in this paper, CARES mitigates these vulnerabilities by refactoring the Java code using the Intercepting Filter design pattern. The flexible, microservice-based CARES design can be readily extended to support other injection vulnerabilities, remediation design patterns, and programming languages.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
自动修复代码中的结构化查询语言注入和跨站脚本漏洞
基于互联网的分布式系统是当代软件应用的主流。为了使这些应用程序安全运行,软件开发人员必须减轻恶意行为者带来的威胁。例如,开发人员必须识别软件中的漏洞并消除它们。然而,手工操作既费钱又费时。为了降低这些成本,我们设计并实施了增强安全性代码自动修复(CARES),这是一种网络应用程序,可自动识别并修复基于 Java 的网络应用程序中最常见的两种漏洞:SQL 注入 (SQLi) 和跨站脚本 (XSS)。正如本文介绍的案例研究所示,CARES 通过使用拦截过滤器设计模式重构 Java 代码来缓解这些漏洞。灵活、基于微服务的 CARES 设计可随时扩展,以支持其他注入漏洞、修复设计模式和编程语言。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Mapping Petri Nets onto a Calculus of Context-Aware Ambients Using Behavior-Driven Development (BDD) for Non-Functional Requirements E-SERS: An Enhanced Approach to Trust-Based Ranking of Apps CORE-ReID: Comprehensive Optimization and Refinement through Ensemble Fusion in Domain Adaptation for Person Re-Identification A MongoDB Document Reconstruction Support System Using Natural Language Processing
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1