Site Directory
Popular Links
|
PHP Fileupload VulnerabilitySerious security flaw with an easy fixITinfo SponsorERROR: Random File UnopenableThe file was not found on your file system. This means that it has either not been created or the path you have specified in $trrandom_file is incorrect.
CERT Finds PHP Vulnerabilityby Dave MurphyISSN 1535-3613
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. It's often used to dynamically generate Web pages by integrating separate text files, HTML pages, and database records. At its basic level, PHP is simple to learn and comes pre-installed on many Linux distributions. PHP is used on a variety of Web servers, including Apache, Microsoft's Internet Information Server (IIS), and others. Details of the vulnerability, which affects fileupload support affect multiple versions of the PHP program. The security hole can be plugged in one of three ways:
Dave's OpinionI jumped on this vulnerability right away. We use PHP extensively both on our intranet and Internet Web servers to support our SQL databases and to generate dynamic Web pages, based on user preferences. This is a serious vulnerability; however, it's an easy one to fix, requiring just a few minutes to download an upgrade or patch and install it.If you'd like to see a sample of PHP and dynamic Web pages in action, post a note to our message center or visit the ITrain job bank. Both are run using PHP with a SQL database backend that creates the HTML Web pages on the fly as they are requested.
Call for CommentsWhat do you think? Leave your comments on the message center.
ReferencesCERTPHP ITrain Job Bank Message Center
Previous issues are on our website at http://itrain.org/itinfo/.
International Association of Information Technology Trainers
410.567.5366 Copyright © 2002 International Association of Information Technology Trainers, Ltd., All Rights Reserved
http://itrain.org/itinfo/2002/it020228.html |