Plugin ID | 247 |
Plugin name | PHP prior 5.0.2 rfc1867.c file upload |
Plugin filename | PHP prior 5.0.2 rfc1867.c unspecified file upload.plugin |
Plugin filesize | 3998 bytes |
Plugin family | CGI |
Plugin created name | Marc Ruef |
Plugin created email | marc dot ruef at computec dot ch |
Plugin created web | http://www.computec.ch |
Plugin created company | computec.ch |
Plugin created date | 2004/09/20 |
Plugin updated name | Marc Ruef |
Plugin updated email | marc dot ruef at computec dot ch |
Plugin updated web | http://www.computec.ch |
Plugin updated company | computec.ch |
Plugin updated date | 2004/11/14 |
Plugin version | 2.0 |
Plugin changelog | Corrected the plugin structure and added the accuracy values in 1.1. Improved the pattern matching and introduced the plugin changelog in 2.0 |
Plugin protocol | tcp |
Plugin port | 80 |
Plugin procedure detection | open|send HEAD / HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# ### *PHP/[0-4].* OR HTTP/#.# ### *PHP/5.0.[0-2]* |
Plugin detection accuracy | 80 |
Plugin comment | Check is inspired by the Nessus plugin. |
Bug published name | Stefano Di Paola |
Bug published email | stefano dot dipaola at wisec dot it |
Bug published web | http://www.wisec.it |
Bug published company | wisec.it |
Bug published date | 2004/09/15 |
Bug advisory | http://www.securityfocus.com/archive/1/375370 |
Bug affected | PHP prior 5.0.2 |
Bug not affected | PHP 5.0.2 and newer or other solutions (e.g. CGI or ASP) |
Bug vulnerability class | Configuration |
Bug description | The remote system is running a web server with PHP prior 5.0.2. These old versions are vulnerable to a unspecified vulnerability in rfc1867.c that could allow a remote attacker to upload files. |
Bug solution | If the web server is not used it should be de-installed or de-activated. Install the newest patch or bugfix to solve the problem or upgrade to the latest software version which is not vulnerable anymore. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Alternation of the application banner can confuse an attacker and let him determine the wrong software. Additionally limit unwanted connections and communications with firewalling. |
Bug fixing time | Approx. 45 minutes |
Bug exploit availability | Maybe |
Bug exploit url | http://www.securityfocus.com/bid/11038/exploit/ |
Bug remote | Yes |
Bug local | Yes |
Bug severity | Medium |
Bug popularity | 6 |
Bug simplicity | 6 |
Bug impact | 8 |
Bug risk | 7 |
Bug Nessus risk | Medium |
Bug check tools | Nessus is able to do the same check. A proof-of-concept exploit may be available as like Di Paola writes in his Bugtraq posting: "I don't know if releasing a POC for this vuln is a good thing because php is used widely in the net... so if you are interested feel free to contact me." It seems to be just a matter of time when the exploit is available for the public. |
Source SecurityFocus BID | 11190 |
Source Nessus ID | 14770 |
Source Literature | Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427 |
Source Misc. | http://viewcvs.php.net/viewcvs.cgi/php-src/NEWS.diff?r1=1.1247.2.724&r2=1.1247.2.726 |