Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Pen-Test
[Top] [All Lists]

Re: MS Access SQL injection column enumeration

Subject: Re: MS Access SQL injection column enumeration
Date: Sun, 20 Mar 2005 17:23:48 +0000
You can simply read all the data from the table using "SELECT * FROM tablename;". This won't give you the column names but you will have all the data.

MySQL has a "DESCRIBE" function (as in "DESCRIBE tablename"), perhaps Access has a similar function ???


RaMatkal x2 wrote:

I am conducting a pen-test on a web app that is vulnerable to SQL injection. The backend database is MS access.....

i have managed to get a list of table names using something like the following:

select Name, from MSysObjects
where Type=1
and Name not like "MSys*";

However, I am struggling to find a way to gather a list of column names from each table which
would allow me to read any data from the database......
None of the sql injection papers / tutorials seem to have much to say about Access databases...


Anybody got any ideas?

Thanks in advance...
ramatkal@hotmail.com

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



<Prev in Thread] Current Thread [Next in Thread>