Lucene search
K

WebCards <= 1.3 - Remote SQL Injection Vulnerability

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

Remote SQL Injection in WebCards 1.3 admin login allows unauthorized access and shell uploa

Code

                                                -[*]+================================================================================+[*]-
-[*]+		    WebCards &#60;= 1.3 Remote SQL Injection Vulnerability	             +[*]-
-[*]+================================================================================+[*]-



[*] Discovered By: t0pP8uZz
[*] Contact: irc.rizon.net #sectalk
[*] Discovered On: 22 October 2008
[*] Script Download: http://www.mywebcards.net/
[*] DORK: &#34;Powered By Webcards&#34;



[*] Vendor Has Not Been Notified!



[*] DESCRIPTION/USAGE: 

	WebCards 1.3 and prior versions suffer from a MySQL injection in the admin login
	page, This allows remote attackers to gain access to the administration area
	without having a valid user/pass combination.

	All what is needed is the valid username, The default admin username is &#34;admin&#34; so
	the below SQL syntax should gain entry to a vulnerable site.

	Not all sites are vulnerable, It relys on Magic Quotes, and other script settings for
	this to work, I tested on about 15 sites, and 2 of those 15 were only vulnerable.

	Once in the administration area its possible to get a very easy shell, Which is
	explained in the &#34;Notes&#34; section of this document.



[*] SQL Injection:

	First find a vulnerable site, Then goto http://site.com/webcards/admin.php

	Enter the following in the username textbox: admin&#34; and &#34;&#34;=&#34;
	Enter the following in the password textbox: 1



[*] NOTE/TIP: 

	To gain a shell on the vulnerable host, Simply use the sql injection above, Once
	administration is gained, Click &#34;Add Image Macro&#34; follow the onscreen instructions
	and change the extension to php or what ever file type you want.

	Once complete goto &#34;Images&#34; and upload your shell/file, When its complete, Navigate
	back to images, Goto &#34;Show All&#34; and look for your file name, then just copy the LINK.


[*] GREETZ: 

	milw0rm.com, Offensive-Security.com, CipherCrew !



[-] Come hang in irc, irc.rizon.net #sectalk
	
	Peace...

	...t0pP8uZz !



-[*]+================================================================================+[*]-
-[*]+		    WebCards &#60;= 1.3 Remote SQL Injection Vulnerability	             +[*]-
-[*]+================================================================================+[*]-

# milw0rm.com [2008-10-29]

                              

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