作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (23): 140-142. doi: 10.3969/j.issn.1000-3428.2006.23.050

• 安全技术 • 上一篇    下一篇

CGI模式中基于环境变量认证的安全性分析

钱鹏江,王士同   

  1. (江南大学信息工程学院,无锡 214000)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-12-05 发布日期:2006-12-05

Security Analysis of Authentication Based on Environment Variable
in CGI Mode

QIAN Pengjiang, WANG Shitong   

  1. (School of Information Engineering, Southern Yangtze University, Wuxi 214000)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-12-05 Published:2006-12-05

摘要: 分析了CGI模式中常见的基于环境变量的认证算法所存在的安全隐患,给出了根源是过分信赖服务端环境变量所致的结论。指出了基于随机带无规则的背景图片码认证的客户端提交是一种可行的、较安全的替换算法。

关键词: 通用网关接口, 认证, 环境变量, 图片码

Abstract: This paper describes the security trouble of authentication algorithm based on environment variable in CGI mode and points out it’s caused by excessively trust the environment variable of server. Moreover, this paper also introduces a replaced algorithm based on validation of random image code with irregular background in client.

Key words: CGI, Authentication, Environment variable, Image code