Security Analysis of Web Open-Source Projects Based on Java']Java and PHP

被引:0
|
作者
Yin, Zhen [1 ]
Lee, Scott Uk-Jin [1 ]
机构
[1] Hanyang Univ, Dept Comp Sci & Engn, Ansan 15588, South Korea
关键词
PHP; !text type='Java']Java[!/text; web security; filter; open-source;
D O I
10.3390/electronics12122618
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
During website development, the selection of suitable computer language and reasonable use of relevant open-source projects is imperative. Although the two languages, PHP and Java, have been extensively investigated in this context, there are not many security test reports based on their open-source projects. In this article, we conducted separate security analyses on web-related open-source projects based on PHP and Java. To this end, different open-source frameworks and services are used to design websites used to test experimental attacks on 12 popular open-source filters available on GitHub, as well as investigate the use of Lightweight Directory Access Protocol (LDAP) in the Firefox browser environment. Using malicious payloads published by Open Web Application Security Project (OWASP) and others, Cross-site Scripting (XSS), Local File Inclusion (LFI), SQL injection, and LDAP injection are performed on the test targets. The experimental results reveal that although PHP-based open-source projects are more vulnerable to attacks than Java-based ones, there is significant room for improvement. Finally, a whitelist-based filtering scheme is proposed. This scheme filters the inline attributes of label elements so that the filter has an excellent detection rate of malicious payloads while having an excellent pass rate of benign payloads. Effective references and suggestions for web developers are also included to aid the selection of open-source web projects, and feasible solutions to improve filter performance are proposed.
引用
收藏
页数:15
相关论文
共 50 条
  • [1] Analyzing Conflict Predictors in Open-Source Java']Java Projects
    Accioly, Paola
    Borba, Paulo
    Silva, Leuson
    Cavalcanti, Guilherme
    2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, : 576 - 586
  • [2] On the Nature of Code Cloning in Open-Source Java']Java Projects
    Golubev, Yaroslav
    Bryksin, Timofey
    2021 IEEE 15TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES, IWSC 2021, 2021, : 22 - 28
  • [3] FOUNTAIN: A JAVA']JAVA open-source package to assist large sequencing projects
    Buerstedde, Jean-Marie
    Prill, Florian
    BMC BIOINFORMATICS, 2001, 2 (1)
  • [4] Automatic Categorization with Deep Neural Network for Open-Source Java']Java Projects
    Anh Tuan Nguyen
    Nguyen, Tien N.
    PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 164 - 166
  • [5] On the nature of code cloning in open-source Java projects
    Golubev, Yaroslav
    Bryksin, Timofey
    arXiv, 2021,
  • [6] Understanding semi-structured merge conflict characteristics in open-source Java']Java projects
    Accioly, Paola
    Borba, Paulo
    Cavalcanti, Guilherme
    EMPIRICAL SOFTWARE ENGINEERING, 2018, 23 (04) : 2051 - 2085
  • [7] Demo: Large Scale Analysis on Vulnerability Remediation in Open-source Java']JavaScript Projects
    Bandara, Vinuri
    Rathnayake, Thisura
    Weerasekara, Nipuna
    Elvitigala, Charitha
    Thilakarathna, Kenneth
    Wijesekera, Primal
    De Zoysa, Kasun
    Keppitiyagama, Chamath
    CCS '21: PROCEEDINGS OF THE 2021 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2021, : 2447 - 2449
  • [8] Are unit and integration test definitions still valid for modern Java']Java projects? An empirical study on open-source projects
    Trautsch, Fabian
    Herbold, Steffen
    Grabowski, Jens
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 159
  • [9] FOUNTAIN: A JAVA open-source package to assist large sequencing projects
    Jean-Marie Buerstedde
    Florian Prill
    BMC Bioinformatics, 2
  • [10] An Open-Source Java']Java Platform for Automated Reaction Mapping
    Crabtree, John D.
    Mehta, Dinesh P.
    Kouri, Tina M.
    JOURNAL OF CHEMICAL INFORMATION AND MODELING, 2010, 50 (09) : 1751 - 1756