Re: MS Access+pen-test



On 13 Jun 2007 19:55:07 -0000, wymerzp@xxxxxxx <wymerzp@xxxxxxx> wrote:
I was looking over a client's website when I discovered a classic (almost cliche) sql injection vulnerability (i.e. Username ' OR ''=' | Password ' OR ''='). I did more poking and prodding and discovered that they are using MS Access for a backend. I know you can't string queries together (i.e. Select user from tbl where blah = var; Select...). My question is then, is there any 'good way' to use sql injection against this database to drive home the severity of the lack of input validation? Currently, the best I got was access to non-sensitive information that one simply needed to supply an email for.

Thanks a lot,

Zach

If any of the error messages give a clue as to the location of the
database .mdb file see if you can download it. Another common mistake
is to put the database in the web root somewhere.

Regards,
Jim Halfpenny

------------------------------------------------------------------------
This List Sponsored by: Cenzic

Are you using SPI, Watchfire or WhiteHat?
Consider getting clear vision with Cenzic
See HOW Now with our 20/20 program!

http://www.cenzic.com/c/2020
------------------------------------------------------------------------



Relevant Pages

  • Re: Store database password
    ... We are storing our database password in an include ... > file that resides outside of the web root. ... > about securely encrypting that password? ... If the server is apache on *nix... ...
    (comp.lang.php)
  • Re: private folder
    ... If the host allows you to store the database outside of the web root, then they have to give you FTP ... If you choose to keep the database in the web, then let FP create the fpdb folder and store the ...
    (microsoft.public.frontpage.client)
  • Re: updating database
    ... Thomas, that is what I do to test the pages. ... I understand the permissions ... I will have to make sure that the directory and the database are ... You said "application root is not set on the web root or subweb/subsite." ...
    (microsoft.public.frontpage.client)
  • Re: DSNLess connection
    ... DO NOT stick the database in reach of the outside world (stick it ... above the web root). ... > I am confused as to which connection I should be using. ... > Microsoft JET Database Engine error '80040e4d' ...
    (microsoft.public.inetserver.asp.db)
  • Re: Unable to connect to MSAccess database
    ... about putting my database in web root, well i m using it internally, not ... on a web server, so i don't have this problem of someone downloading the ...
    (microsoft.public.inetserver.asp.db)