Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Forum/Board/Portal)  >   GuppY Vendors:   Duveau, Laurent
GuppY Input Validation Flaw in 'error.php' Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1015279
SecurityTracker URL:
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Nov 29 2005
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 4.5.9 and prior versions
Description:   rgod reported a vulnerability in GuppY. A remote user can execute arbitrary code on the target system.

The 'error.php' script does not properly validate user-supplied input in the $REMOTE_ADDR variable. A remote user can supply a specially crafted URL to cause the target system to include and execute arbitrary PHP code from a remote location. The PHP code, including operating system commands, will run with the privileges of the target web service.

If magic_quotes_gpc and register_globals are disabled, the $REMOTE_ADDR variable can be overwritten and this vulnerability can be exploited.

Some demonstration exploit URLs are provided:

http://[target]/[path_to_guppy]/error.php?err=hacker&_SERVER=&_SERVER[REMOTE_ADDR]=";passthru("ls -la>README");echo"

http://[target]/[path_to_guppy]/error.php?err=hacker&_SERVER=&_SERVER[REMOTE_ADDR]=";passthru("cat ./admin/mdp.php>README");echo"

If register_globals are enabled, a remote user can include arbitrary local files.

Some demonstration exploit URLs are provided:







The original advisory is available at:

Impact:   A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.
Solution:   No solution was available at the time of this entry.
Vendor URL: (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

Subject:  Guppy <=4.5.9 $REMOTE_ADDR overwrite/ remote commands execution


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2022, LLC