A Novel Technique to Prevent SQL Injection and Cross-Site Scripting Attacks Using Knuth-Morris-Pratt String Match Algorithm

dc.contributor.authorKayode, Aderonke Anthonia
dc.date.accessioned2022-03-08T10:57:11Z
dc.date.available2022-03-08T10:57:11Z
dc.date.issued2020-08-18
dc.descriptionCybersecurityen_US
dc.description.abstractStructured Query Language (SQL) injection and cross-site scripting remain a major threat to data-driven web applications. Instances where hackers obtain unrestricted access to back-end database of web applications so as to steal, edit, and destroy confidential data are increasing. Therefore, measures must be put in place to curtail the growing threats of SQL injection and XSS attacks. This study presents a technique for detecting and preventing these threats using Knuth-Morris-Pratt (KMP) string matching algorithm. The algorithm was used to match user’s input string with the stored pattern of the injection string in order to detect any malicious code. The implementation was carried out using PHP scripting language and Apache XAMPP Server. The security level of the technique was measured using different test cases of SQL injection, cross-site scripting (XSS), and encoded injection attacks. Results obtained revealed that the proposed technique was able to successfully detect and prevent the attacks, log the attack entry in the database, block the system using its mac address, and also generate a warning message. Therefore, the proposed technique proved to be more effective in detecting and preventing SQL injection and XSS attacks.en_US
dc.description.sponsorshipLandmark University, Omu Aran, Nigeriaen_US
dc.identifier.citation3. Abikoye, O. C., Abubakar, A., Dokoro, A. H., Akande, O. N., & Kayode, A. A. (2020). A novel technique to prevent SQL injection and cross-site scripting attacks using Knuth-Morris-Pratt string match algorithm. EURASIP Journal on Information Security, 2020(1), 1-14.en_US
dc.identifier.urihttp://dspace.run.edu.ng:8080/jspui/handle/123456789/2038
dc.language.isoenen_US
dc.publisherEURASIP Journal on Information Securityen_US
dc.subjectSQL injectionen_US
dc.subjectCross-site scriptingen_US
dc.subjectInformation securityen_US
dc.subjectWeb application vulnerabilityen_US
dc.subjectKnuth-Morris-Pratt (KMP) string matching algorithmen_US
dc.titleA Novel Technique to Prevent SQL Injection and Cross-Site Scripting Attacks Using Knuth-Morris-Pratt String Match Algorithmen_US
dc.typeArticleen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
ARTICLE 26.pdf
Size:
3.1 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: