首页> 外文会议>2018 IEEE/ACM 40th International Conference on Software Engineering >Secure Coding Practices in Java: Challenges and Vulnerabilities
【24h】

Secure Coding Practices in Java: Challenges and Vulnerabilities

机译:Java安全编码实践:挑战和漏洞

获取原文
获取原文并翻译 | 示例

摘要

The Java platform and its third-party libraries provide useful features to facilitate secure coding. However, misusing them can cost developers time and effort, as well as introduce security vulnerabilities in software. We conducted an empirical study on StackOverflow posts, aiming to understand developers' concerns on Java secure coding, their programming obstacles, and insecure coding practices. We observed a wide adoption of the authentication and authorization features provided by Spring Security—a third-party framework designed to secure enterprise applications. We found that programming challenges are usually related to APIs or libraries, including the complicated cross-language data handling of cryptography APIs, and the complex Java-based or XML-based approaches to configure Spring Security. In addition, we reported multiple security vulnerabilities in the suggested code of accepted answers on the StackOverflow forum. The vulnerabilities included disabling the default protection against Cross-Site Request Forgery (CSRF) attacks, breaking SSL/TLS security through bypassing certificate validation, and using insecure cryptographic hash functions. Our findings reveal the insufficiency of secure coding assistance and documentation, as well as the huge gap between security theory and coding practices.
机译:Java平台及其第三方库提供了有助于安全编码的有用功能。但是,滥用它们会浪费开发人员的时间和精力,并在软件中引入安全漏洞。我们对StackOverflow帖子进行了一项实证研究,旨在了解开发人员对Java安全编码的关注,他们的编程障碍以及不安全的编码实践。我们观察到Spring Security提供的身份验证和授权功能得到了广泛采用,Spring Security是一种旨在保护企业应用程序安全的第三方框架。我们发现编程挑战通常与API或库有关,包括加密API的复杂跨语言数据处理以及用于配置Spring Security的复杂的基于Java或基于XML的方法。此外,我们在StackOverflow论坛上的建议答案接受代码中报告了多个安全漏洞。漏洞包括禁用针对跨站点请求伪造(CSRF)攻击的默认保护,通过绕过证书验证来破坏SSL / TLS安全以及使用不安全的加密哈希功能。我们的发现揭示了安全编码帮助和文档的不足,以及安全理论和编码实践之间的巨大差距。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号