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. |

| Subject: | Re: Hardcoded Database IP in ASP |
|---|---|
| Date: | Fri, 15 Sep 2006 13:45:10 -0400 |
Hi, Darryl, this is really more of a network security question than an application security question, but let me take a stab at it. It is possible, although very unlikely that they can spoof an IP packet to run some command on the server. They would be doing so blind though as they wouldn't see the responses. There is a fairly good article here: http://www.cosc.brocku.ca/~cspress/HelloWorld/1999/03-mar/spoofing.html
This really isn't super practical on a lot of modern systems because they do a better job of reducing the predictability of the ISN to create the fake three way connection. Also, if the server is under any sort of load it makes it more difficult. Also, the attacker would have to know exactly what to craft to make that happen (so unless it's open source, that simple fact alone will make exploitation much more difficult).
So yes, theoretically it's a bad idea, in practice it's pretty difficult to exploit from a black box perspective. Beware people on your local LAN though, they'll have a much easier time exploiting than an outsider would as they have visibility into packets in both directions if they are sniffing the network.
-RSnake http://ha.ckers.org/ http://sla.ckers.org/
Hello fellow Security Guru's.
I've been on the distro from sometime and gaining a lot of insight into various security issues.
Question: I have ASP script that points to a backend database residing on seperate physical server. Is there any known way of getting around using a hard-coded IP address to point to the database? Would utilizing the OS hosts file serve my purposes of and satisfy secure code practices? Thanks guys.
Darryl
------------------------------------------------------------------------- Sponsored by: Watchfire
https://www.watchfire.com/securearea/whitepapers.aspx?id=701500000008Vmr --------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: custom xp_cmdshell on SQL Server, Andy Lester |
|---|---|
| Next by Date: | Re: Re: Penetration Testing work effort, Sap . |
| Previous by Thread: | Re: Hardcoded Database IP in ASP, RSnake |
| Next by Thread: | RE: Hardcoded Database IP in ASP, Ken Schaefer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |