信息网络安全 ›› 2015, Vol. 15 ›› Issue (6): 85-90.doi: 10.3969/j.issn.1671-1122.2015.05.014

• 理论研究 • 上一篇    下一篇

软件潜在安全性缺陷测试案例的研究及思考

冯济舟(), 田明辉   

  1. 中国电子科技集团第三十八研究所,安徽合肥 230088
  • 收稿日期:2015-03-09 出版日期:2015-06-20 发布日期:2018-07-16
  • 作者简介:

    作者简介: 冯济舟(1984-),男,辽宁,工程师,硕士,主要研究方向:软件测试和软件工程化;田明辉(1981-),男,黑龙江,高级工程师,博士,主要研究方向:雷达数据处理、无源定位。

  • 基金资助:
    国家科技支撑计划[2011BAH24B06]

Research on the Software Security Testing for Potential Defects

FENG Ji-zhou(), TIAN Ming-hui   

  1. China Electronics Technology Group Corporation No.38 Research Institute, Hefei Anhui 230088, China
  • Received:2015-03-09 Online:2015-06-20 Published:2018-07-16

摘要:

软件测试是能力成熟度模型集成(capability maturity model integration,CMMI)中验证(verification,Ver)与确认(validation,Val)过程域的重要表现形式,是保障软件可靠性的重要手段。近年来,随着软件规模和复杂程度的不断提高,软件测试技术也不断发展,然而程序设计语言本身固有的特性以及开发人员在编程时没有考虑周全使得许多漏洞无法在编译、运行乃至测试阶段发现,这些缺陷通过输入验证错误、访问验证错误、设计错误、特殊条件错误和竞争条件错误等方式在不导致系统崩溃的情况下,可以通过篡改系统用户权限的形式威胁系统安全。文章通过对软件测试中易被忽略的软件潜在安全性缺陷的研究,总结出开发过程中常碰到的软件潜在安全性缺陷的表现形式,并通过具体代码实例的故障分析及解决措施,清晰、直观地给出具有潜在安全性缺陷的代码特征,增强了开发人员及测试人员对此类问题的认识,对提高软件可靠性具有积极意义。

关键词: 软件测试, 软件能力成熟度模型集成, 软件潜在安全性缺陷, 软件可靠性

Abstract:

Software testing is a very important activity in the verification and validation process of Capability Maturity Model Integration (CMMI), is the important means to guarantee the reliability of the software. In recent years, with the continuous improvement of software scale and complexity, software testing technology is also growing, but programming language itself inherent characteristics and developers in programming without thoughtful prevented many loopholes in compile, run and test phase, found that the defects by input validation, access validation errors, design errors, special conditions and competition conditions of errors in the circumstance that does not result in system crash, can tamper with the system user permissions in the form of a threat to system security. Through analyzing the potential security flaw which are neglected on software test, methods and preventive measure for solving them are summed up. Through giving the specific code features of this kind of defect, software developers’ awareness on the problem is enhanced. They have a positive significance to the reliability of the software.

Key words: software test, software capability maturity model integration, the potential security flaw, the reliability of the software

中图分类号: