Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [UNIX] GuppY Directory Traversal and Database Corruption |
|---|---|
| Date: | 16 Mar 2006 13:59:16 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - GuppY Directory Traversal and Database Corruption ------------------------------------------------------------------------ SUMMARY <http://www.freeguppy.org> GuppY is a web portal intentionally designed to be easy to use for you, the final user. It doesn't require any database to run. A remote attacker can overrun the application database with arbitrary content and perform a directory traversal attack. DETAILS Vulnerable Systems: * GuppY version 4.5.11 and lower Immune Systems: * GuppY version 4.5.12 When GuppY is installed with magic_quotes_gpc = Off, a remote attacker can write arbitrary content to the database via NULL injection in the gp parameter in dwnld.php Furthermore, the filter of the parameter can be bypassed by using %2E./ instead of ../ thus allowing directory traversal. Vulnerable Code: //dwnld.php $dnldcounter = ReadDocCounter(DBBASE.$pg); UpdateDocCounter($pg); //log.inc } WriteDBFields(DBLOGH,$dblog); } $tabcounter = CompteVisites(DBIPSTATS, DBSTATS); if ($tabcounter[0] > 0 && ($tabcounter[0]/10) == intval($tabcounter[0]/10)) { WriteCounter(DBSTATSBK, $tabcounter[0]); } //functions.php function WriteCounter($fic,$DataDB) { $fhandle = fopen($fic, "w"); fputs($fhandle, $DataDB."\n"); fclose($fhandle); } ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [NT] ENet Library Multiple Vulnerabilities, SecuriTeam |
|---|---|
| Next by Date: | [UNIX] capi4hylafax Insecure Files Manipulation, SecuriTeam |
| Previous by Thread: | [NT] ENet Library Multiple Vulnerabilities, SecuriTeam |
| Next by Thread: | [UNIX] capi4hylafax Insecure Files Manipulation, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |