Plugin ID | 53 |
Plugin name | YaPiG 0.92b remote server-side script execution |
Plugin filename | YaPiG 0.92b remote server-side script execution.plugin |
Plugin filesize | 3947 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/08/16 |
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 | Changed a spelling mistake in the description in version 1.2. Changed the plugin filename in version 1.3. Corrected the plugin structure and added the accuracy values in 1.4. Improved the pattern matching and introduced the plugin changelog in 2.0 |
Plugin protocol | tcp |
Plugin port | 80 |
Plugin procedure detection | open|send GET /index.php HTTP/1.0\n\n|sleep|clsose|pattern_exists HTTP/#.# ### *Powered by*YaPig.* V0.92b* |
Plugin detection accuracy | 80 |
Plugin comment | Check is copied from the Nessus plugin (see Nessus ID listed in the sources). |
Bug published name | aCiDBiTS |
Bug published email | acidbits at hotmail dot com |
Bug published web | http://www.solutions.fi |
Bug published date | 2004/08/08 |
Bug affected | Yet Another PHP Image Gallery V0.92b |
Bug not affected | Other versions or solutions |
Bug vulnerability class | Cross Site Scripting |
Bug description | The remote host seems to be running YaPiG, a PHP Image Gallery script. This version may allow a remote attacker to execute malicious scripts on a vulnerable system. This issue exists due to a lack if sanitization of user-supplied data. It is reported that an attacker may be able to upload content that will be saved on the server with a '.php' extension. When this file is requested by the attacker, the contents of the file will be parsed and executed by the PHP engine, rather than being sent. Successful exploitation of this issue may allow an attacker to execute malicious script code on a vulnerable server. |
Bug solution | The server should be deactivated or de-installed if not necessary. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Try to prevent unwanted connection attempts by filtering traffic with firewalling. Alternation of the application banner can confuse an attacker and let him determine the wrong software. |
Bug fixing time | Approx. 2 hours |
Bug exploit availability | Yes |
Bug exploit url | http://www.securityfocus.com/bid/10891/exploit/ |
Bug remote | Yes |
Bug local | Yes |
Bug severity | Medium |
Bug popularity | 3 |
Bug simplicity | 6 |
Bug impact | 7 |
Bug risk | 5 |
Bug Nessus risk | Medium |
Bug check tools | Nessus is able to do a similar check. |
Source CVE | CVE-1999-0259 |
Source SecurityFocus BID | 10891 |
Source Nessus ID | 14269 |
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://yapig.sourceforge.net/index.php |