◆ CGI安全漏洞资料速查 v1.0
日期:2000-8-15
#############################################################################
本文取自一位朋友.这本来不算是什么珍贵的东西,如果你平时注意收集的话,相信很多人都会
有比这份更全面、更好的资料.但由于某些原因.这些资料一直都不肯被公开.但我是一个崇尚完
全自由、完全开放、完全共享的little guys.所以我把这份资料公开了.希望那位朋友不要怪罪 :)
# 如有任何安全组织或个人愿意无尝对此文进行长期的、不间断地维护、更新或更改. 请自行
随便,不必与我商讨.但要求是成果必须完全地向internet公开. 任何行为的私藏都是不受欢
迎的.
# 本文欢迎转摘.但请保持这些声明。
# 如有任何问题或建议,请mailto: iwillsurewin@163.net
# iwillsurewin 2000.7.28
############################################################################
1
类型: 攻击型
名字: phf
风险等级: 中
描述: 在NCSA 或者 Apache (1.1.1版本以内)非商业版本的Web Server中有一段程序util.c,允许黑客以root身份执行任何一个指令:
http://www.xxx.com/cgi-bin/phf?Qname=root%0Asome%20command%20here
建议:
解决方法: 把Apache web server升级到1.1.1以上,或者将NCSA web server升级到最新版本
_________________________________________________________________
2
类型: 攻击型
名字: wguset.exe
风险等级: 中
描述: 如果您使用NT做为您的WebServer的操作系统,而且wguest.exe存在于您的Web可执行目录中的话,入侵者将能利用它阅读到您的硬盘上所有USR_
建议: 将wguset.exe从你的Web目录移走或删除
解决方法: 将wguset.exe从你的Web目录移走或删除
___________________________________________________________________
3
类型: 攻击型
名字: rguset.exe
风险等级: 中
描述: 如果您使用NT做为您的WebServer的操作系统,而且rguest.exe存在于您的Web可执行目录中的话,入侵者将能利用它阅读到您的硬盘上所有USR_
建议: 将rguset.exe从你的Web目录移走或删除
解决方法: 将rguset.exe从你的Web目录移走或删除
_______________________________________________________________________
4
类型: 攻击型
名字: perl.exe
风险等级: 低
描述: 在cgi-bin执行目录下存在perl.exe,这属于严重的配置错误。黑客可以在perl.exe后面加一串指令,利用浏览器在server上执行任何脚本程序
建议: perl.exe是放在任何带执行权限的web目录下都是不安全的
解决方法: 在web目录下移除perl.exe这个程序.
____________________________________________________________________
5
类型: 攻击型
名字: shtml.exe
风险等级: 低
描述: 如果您使用Front Page作为您的WebServer,那么入侵者能够利用IUSR_
建议: 将shtml.exe从你的Web目录移走或删除
解决方法: 将shtml.exe从你的Web目录移走或删除
___________________________________________________________________
6
类型: 攻击型
名字: wwwboard.pl
风险等级: 低
描述: wwwboard.pl程序容易引起攻击者对服务器进行D.O.S攻击
建议: 如无必要可以删除该文件
解决方法: 对get_variables的子程序中的下面这段:
if ($FORM{'followup'}) { $followup = "1";
@followup_num = split(/,/,$FORM{'followup'});
$num_followups = @followups = @followup_num;
$last_message = pop(@followups);
$origdate = "$FORM{'origdate'}";
$origname = "$FORM{'origname'}";
$origsubject = "$FORM{'origsubject'}"; }
替换为:
if ($FORM{'followup'}) {
$followup = "1";
@followup_num = split(/,/,$FORM{'followup'});
$num_followups = @followups = @followup_num;
$last_message = pop(@followups);
$origdate = "$FORM{'origdate'}";
$origname = "$FORM{'origname'}";
$origsubject = "$FORM{'origsubject'}";
# WWWBoard Bomb Patch
# Written By: Samuel Sparling sparling@slip.net)
$fn=0;
while($fn {
$cur_fup = @followups $fn];
$dfn=0;
foreach $fm(@followups)
{
if(@followups[$dfn] == @followups[$fn] && $dfn != $fn)
{
&error(board_bomb);
}
$dfn++;
}
$fn++;
}
# End WWWBoard Bomb Patch
}
相关连接: http://hgfr
_________________________________________________________________________
7
类型: 攻击型
名字: uploader.exe
风险等级: 中
描述: 如果您使用NT作为您的WebServer的操作系统,入侵者能够利用uploader.exe上传任何文件
建议: 将uploader.exe从你的Web目录移走或删除
解决方法: 将uploader.exe从你的Web目录移走或删除
________________________________________________________________
8
类型: 攻击型
名字: bdir.htr
风险等级: 高
描述: 如果您使用NT做为您的WebServer的操作系统,而且bdir.htr存在于您的Web可执行目录中的话,入侵者将能利用它在您的服务器上无止境的创建ODBC数据库,并生成一些可执行的文件。
建议: 将bdir.htr从你的Web目录移走或删除
解决方法: 将bdir.htr从你的Web目录移走或删除
__________________________________________________________________
9
类型: 攻击型
名字: Count.cgi
风险等级: 高
描述: 在/cgi-bin目录下的Count.cgi程序(wwwcount2.3版本)有一个溢出错误,允许入侵者无须登录而远程执行任何指令.
建议: 如无必要可以删除该文件
解决方法: 将wwwcount升级到2.4或者以上
_________________________________________________________________
10
类型: 攻击型
名字: test-cgi
风险等级: 高
描述: test-cgi这个文件可以被入侵者用来浏览服务器上的重要信息
建议: 建议审核cgi-bin目录下的执行程序,严格控制访问权限
解决方法: 删除test-cgi文件

PHP remains a powerful and widely used tool in modern programming, especially in the field of web development. 1) PHP is easy to use and seamlessly integrated with databases, and is the first choice for many developers. 2) It supports dynamic content generation and object-oriented programming, suitable for quickly creating and maintaining websites. 3) PHP's performance can be improved by caching and optimizing database queries, and its extensive community and rich ecosystem make it still important in today's technology stack.

In PHP, weak references are implemented through the WeakReference class and will not prevent the garbage collector from reclaiming objects. Weak references are suitable for scenarios such as caching systems and event listeners. It should be noted that it cannot guarantee the survival of objects and that garbage collection may be delayed.

The \_\_invoke method allows objects to be called like functions. 1. Define the \_\_invoke method so that the object can be called. 2. When using the $obj(...) syntax, PHP will execute the \_\_invoke method. 3. Suitable for scenarios such as logging and calculator, improving code flexibility and readability.

Fibers was introduced in PHP8.1, improving concurrent processing capabilities. 1) Fibers is a lightweight concurrency model similar to coroutines. 2) They allow developers to manually control the execution flow of tasks and are suitable for handling I/O-intensive tasks. 3) Using Fibers can write more efficient and responsive code.

The PHP community provides rich resources and support to help developers grow. 1) Resources include official documentation, tutorials, blogs and open source projects such as Laravel and Symfony. 2) Support can be obtained through StackOverflow, Reddit and Slack channels. 3) Development trends can be learned by following RFC. 4) Integration into the community can be achieved through active participation, contribution to code and learning sharing.

PHP and Python each have their own advantages, and the choice should be based on project requirements. 1.PHP is suitable for web development, with simple syntax and high execution efficiency. 2. Python is suitable for data science and machine learning, with concise syntax and rich libraries.

PHP is not dying, but constantly adapting and evolving. 1) PHP has undergone multiple version iterations since 1994 to adapt to new technology trends. 2) It is currently widely used in e-commerce, content management systems and other fields. 3) PHP8 introduces JIT compiler and other functions to improve performance and modernization. 4) Use OPcache and follow PSR-12 standards to optimize performance and code quality.

The future of PHP will be achieved by adapting to new technology trends and introducing innovative features: 1) Adapting to cloud computing, containerization and microservice architectures, supporting Docker and Kubernetes; 2) introducing JIT compilers and enumeration types to improve performance and data processing efficiency; 3) Continuously optimize performance and promote best practices.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Linux new version
SublimeText3 Linux latest version

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Atom editor mac version download
The most popular open source editor