YaPiG 0.92b remote server-side script execution 2.0
 
Plugin ID53
Plugin nameYaPiG 0.92b remote server-side script execution
Plugin filenameYaPiG 0.92b remote server-side script execution.plugin
Plugin filesize3947 bytes
Plugin familyCGI
Plugin created nameMarc Ruef
Plugin created emailmarc dot ruef at computec dot ch
Plugin created webhttp://www.computec.ch
Plugin created companycomputec.ch
Plugin created date2004/08/16
Plugin updated nameMarc Ruef
Plugin updated emailmarc dot ruef at computec dot ch
Plugin updated webhttp://www.computec.ch
Plugin updated companycomputec.ch
Plugin updated date2004/11/14
Plugin version2.0
Plugin changelogChanged 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 protocoltcp
Plugin port80
Plugin procedure detectionopen|send GET /index.php HTTP/1.0\n\n|sleep|clsose|pattern_exists HTTP/#.# ### *Powered by*YaPig.* V0.92b*
Plugin detection accuracy80
Plugin commentCheck is copied from the Nessus plugin (see Nessus ID listed in the sources).
Bug published nameaCiDBiTS
Bug published emailacidbits at hotmail dot com
Bug published webhttp://www.solutions.fi
Bug published date2004/08/08
Bug affectedYet Another PHP Image Gallery V0.92b
Bug not affectedOther versions or solutions
Bug vulnerability classCross Site Scripting
Bug descriptionThe 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 solutionThe 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 timeApprox. 2 hours
Bug exploit availabilityYes
Bug exploit urlhttp://www.securityfocus.com/bid/10891/exploit/
Bug remoteYes
Bug localYes
Bug severityMedium
Bug popularity3
Bug simplicity6
Bug impact7
Bug risk5
Bug Nessus riskMedium
Bug check toolsNessus is able to do a similar check.
Source CVECVE-1999-0259
Source SecurityFocus BID10891
Source Nessus ID14269
Source LiteratureHacking 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

This file was generated by the Attack Tool Kit (ATK), the open-sourced security scanner and exploiting framework.