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 条
  • [21] Finding a Needle in a Haystack: Threat Analysis in Open-Source Projects
    Gruner, Bernd
    Heckner, Sebastian Thomas
    Sonnekalb, Tim
    Bouhlal, Badr-Eddine
    Brust, Clemens-Alexander
    2024 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING-COMPANION, SANER-C 2024, 2024, : 141 - 145
  • [22] Open-source software projects for advancing the power systems analysis
    Montenegro, D.
    Dugan, R.
    Taylor, J.
    McGranaghan, M.
    2022 OPEN SOURCE MODELLING AND SIMULATION OF ENERGY SYSTEM (OSMSES), 2022,
  • [23] Soft Modelling Open source Java']Java application for flexible structural systems
    Garcia, Manuel Jimenez
    ECAADE 2016: COMPLEXITY & SIMPLICITY, VOL 2, 2016, : 265 - 274
  • [24] Validation of Lehman Laws of Growth and Familiarity for Open Source Java']Java Databases
    Kaur, Arvinder
    Vig, Vidhi
    COMPUTER COMMUNICATION, NETWORKING AND INTERNET SECURITY, 2017, 5 : 429 - 436
  • [25] Automated Discovery of Java']JavaScript Code Injection Attacks in PHP Web Applications
    Gupta, Shashank
    Gupta, B. B.
    1ST INTERNATIONAL CONFERENCE ON INFORMATION SECURITY & PRIVACY 2015, 2016, 78 : 82 - 87
  • [26] Security issues in information systems based on open-source technologies
    Greiner, S
    Boskovic, B
    Brest, J
    Zumer, V
    IEEE REGION 8 EUROCON 2003, VOL B, PROCEEDINGS: COMPUTER AS A TOOL, 2003, : 12 - 15
  • [27] Insights into Female Contributions in Open-Source Projects
    Champa, Arifa I.
    Rabbi, Md Fazle
    Zibran, Minhaz F.
    Islam, Md Rakibul
    2023 IEEE/ACM 20TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2023, : 357 - 361
  • [28] Mock Objects in Software Testing: An Analysis of Usage in Open-Source Projects
    de Almeida, Raphael Silva
    da Silva, Romulo Martins
    Serrano, Lucas Silveira
    Campos Junior, Heleno de S.
    Neves, Vania de Oliveira
    PROCEEDINGS OF THE 22TH BRAZILIAN SYMPOSIUM ON SOFTWARE QUALITY, 2023, : 72 - 79
  • [29] Open source tools for measuring the Internal Quality of Java']Java software products. A survey
    Tomas, P.
    Escalona, M. J.
    Mejias, M.
    COMPUTER STANDARDS & INTERFACES, 2013, 36 (01) : 244 - 255
  • [30] Open-Source OPC UA Security and Scalability
    Muehlbauer, Nikolas
    Kirdan, Erkin
    Pahl, Marc-Oliver
    Carle, Georg
    2020 25TH IEEE INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2020, : 262 - 269