House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

SQL injection attack on House of Fusion

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Ouch....
Scott Stewart
08/08/08 11:44 A
Preach it Brother Ben!
Greg Morphis
08/08/08 11:59 A
Geez Ben, tell how you really feel...
Alan Rother
08/08/08 11:59 A
Ben,
Mark Kruger
08/08/08 12:01 P
Tell us how you really feel Ben. :)
Brad Wood
08/08/08 12:02 P
I think alot of us are doing that now.
Alan Rother
08/08/08 12:12 P
Well.......
Andrew Scott
08/11/08 04:40 A
Hmmm...
Andrew Scott
08/11/08 04:41 A
Brad,
Mark Kruger
08/08/08 01:03 P
Ben Forta wrote:
Ian Skinner
08/08/08 12:30 P
Darn, I blew my cover! ;-)
Ben Forta
08/08/08 12:37 P
Ben Forta said ....>
Mike Kear
08/08/08 01:17 P
Mike,
Mark Kruger
08/08/08 02:00 P
Hysterical!!
Andy Matthews
08/08/08 02:22 P
I'm using ionic isapi with the following
Michael Dinowitz
08/08/08 03:58 P
Pete,
Mark Kruger
08/09/08 12:32 A
David Moore, Jr. wrote:
Ian Skinner
08/20/08 05:39 P
Justin,
David Moore, Jr.
08/20/08 05:59 P
Eric,
Mark Kruger
08/20/08 06:07 P
Well, it is my goal :) not there yet...> Subject: Re: SQL injection attack on House of Fusion> From: cftalk@ecartech.com> To: cf-talk@houseoffusion.com> Date: Wed, 20 Aug 2008 16:59:26 -0500> > >is <cfqueryparam> something a lot of programmers really use?> > > Only the good ones. ;)> > > Thanks,> > Eric> > David Moore, Jr. wrote:> > When you say "Update Your Code", are you saying using <cfqueryparam>? But even so, the SQL injection still will use up countless resources instead of cutting it off early. So, go back and fix 1,000's of lines of code I have developed over the last 'upteen' years or stop it before it starts? Is this something new to CF8 or just a necessary evil because of SQL Injection Attacks. > > > > Not trying to pick a fight, becuase I am sure you have forgotten more code than I will ever know (seriously) and I am probably just being lazy (seriously), but is <cfqueryparam> something a lot of programmers really use? I have never seen <cfqueryparam> used on any tags I have purchased or exchanged and I am afraid all I know is what I have learned from books and forums. This is the first I have ever heard of using <cfqueryparam>.> > > > ~David G. Moore, Jr.> Subject: Re: SQL injection attack on House of Fusion> From: jscott@gravityfree.com> To: cf-talk@houseoffusion.com> Date: Wed, 20 Aug 2008 17:01:42 -0400> > > I am currently using the SQLprev.cfm from Jochem to stop the onslaught of superfluous bandwidth suckage from my server, but was wondering what the difference would be with this one. I am not looking to start a "my SQL Injection blocker is better than yours", yet trying to educate myself on just what is going on and what is best to do. > > My original SQLprev script (http://www.gravityfree.com/_sqlprev.cfm.txt) > just checks for basic SQL keywords with a semicolon in URL variables. > It's a quick and dirty way to give you some protection from bots > short-term while your code base is updated to use best practices and > secure coding methods. Mary Jo's is more thorough in that it checks > additional variable scopes, and can help protect better against > hand-drafted attacks, but may have a higher p> otential for false > positives (though it's improved recently from what I can tell).> > SQLPrev has a version compatible with CF5 for those who need it where > the other script relies on CFMX functions to run. I'm not saying one is > better than the other, they both get the job done. Just use whatever > works best for you, and update your code so that you don't need either > of them <g>.> > > -Justin Scott> > > > > > > > > >
David Moore, Jr.
08/20/08 06:09 P
Funny,
Sandra Clark
08/21/08 02:13 P
Mary Jo,
David Moore, Jr.
08/20/08 11:48 P
David Moore, Jr. wrote:
Jochem van Dieten
08/21/08 12:55 A
> Can anyone suggest a modification to the code
Mary Jo Sminkey
08/22/08 09:16 P
Mary Jo,
Matthew Smith
08/23/08 12:18 P
I think it goes:
denstar
08/08/08 11:22 P
Security in layers.
Wil Genovese
08/11/08 12:48 P
Ok, I've noticed that when I go to
Raymond Camden
08/09/08 09:16 A
Ray,
Wil Genovese
08/09/08 10:02 A
Hi Ray,
Terry Ford
08/09/08 12:56 A
Terry Ford wrote:
Jochem van Dieten
08/09/08 06:28 A
Terry Ford wrote:
Jochem van Dieten
08/09/08 11:56 A
Hysterical!!
Andy Matthews
08/08/08 02:28 P
You assume much.
William Seiter
08/10/08 11:19 P
On Fri, Aug 15, 2008 at 1:12 PM, D
Charlie Griefer
08/15/08 04:30 P
And changed
Al Musella, DPM
08/15/08 10:11 P
Mark Mandel wrote:
Jochem van Dieten
08/16/08 05:41 A
LOL...
Andrew Scott
08/16/08 06:45 A
Andrew Scott wrote:
Jochem van Dieten
08/16/08 08:19 A
Hmmm,
Andrew Scott
08/16/08 09:45 A
Andrew Scott wrote:
Jochem van Dieten
08/16/08 10:38 A
Hmm,
Andrew Scott
08/16/08 11:13 A
Andrew Scott wrote:
Jochem van Dieten
08/16/08 11:33 A
Have you ever done any GORM work?
Andrew Scott
08/16/08 11:40 A
--
Andrew Scott
08/16/08 11:17 A
There are always trade-offs.
denstar
08/16/08 11:49 P
LoL...
Andrew Scott
08/17/08 05:23 A
>But hey I am not complaining...
Dave Francis
08/17/08 11:32 A
> Andrew Scott wrote:
denstar
08/16/08 11:17 A
Actually,
Andrew Scott
08/16/08 11:28 A
denstar wrote:
Jochem van Dieten
08/17/08 04:12 A
> denstar wrote:
denstar
08/17/08 05:52 A
denstar wrote:
Jochem van Dieten
08/17/08 12:48 P
Hello folks:
Qing Xia
08/19/08 10:58 A
> denstar wrote:
denstar
08/25/08 03:22 P
>>they are back.
Claude Schneegans
08/16/08 10:54 A
David,
Mark Kruger
08/16/08 12:41 P
Rick,
Andrew Scott
08/16/08 10:42 P
Andrew,
Rick Faircloth
08/17/08 08:20 A
> I'm sure they exist even for CF 4.0
Justin Scott
08/11/08 10:11 A
Rick,
Mark Kruger
08/11/08 11:28 A
Rick,
Robert Rawlins
08/11/08 11:30 A
Dave Morris wrote:
Jochem van Dieten
08/11/08 12:15 P
...
denstar
08/11/08 08:46 P
Dave,
Andrew Scott
08/11/08 11:04 P
...
denstar
08/12/08 04:57 A
Neat! Thanks Dave.
Qing Xia
08/19/08 12:37 P
...
denstar
08/25/08 03:39 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Michael Dinowitz
08/08/2008 10:22 AM

Sorry for the problems with the House of Fusion site. We've been under massive attack by sql injection bots and I've just been able to get a handle on it. A fast solution to the problem is this: <cfif findnocase("';DECLARE", cgi.query_string)><cfabort></cfif> It works unless you have a few hundred attacks at a time. In that case, place a cfmail before the abort and send youself the cgi.remote_addr. Then block it on the webserver level. It works very well. I've blocked a dozen IPs and now the site is back to flying. -- Michael Dinowitz (http://www.linkedin.com/in/mdinowitz) President: House of Fusion (http://www.houseoffusion.com) Publisher: Fusion Authority (http://www.fusionauthority.com) Adobe Community Expert / Advanced Certified ColdFusion Professional

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Scott Stewart
08/08/2008 10:36 AM

Yeah, I've gotten a couple today.. but fortunately when Ray built BlogCFC. he covered his bases. Scott Stewart ColdFusion Developer Office of Research Information Systems Research & Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: sastew01@email.unc.edu Michael Dinowitz wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Michael Dinowitz
08/08/2008 10:43 AM

Covering the bases with cfqueryparam is one thing, being mobbed is another. Sometimes you have to stop these things before any other code is run. I've put that abort script at the top of all my application.cfcs jst to brute force stop the horde. On Fri, Aug 8, 2008 at 10:31 AM, Scott Stewart <sastew01@email.unc.edu>wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Scott Stewart
08/08/2008 10:49 AM

and your absolutely right, I've gotten two and query params covered it, but it sounds like you're getting hit two pronged. "If the injection doesn't do something, the brute force attack will" I'm almost flattered that someone thought my site was important enough to attack... Scott Stewart ColdFusion Developer Office of Research Information Systems Research & Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: sastew01@email.unc.edu Michael Dinowitz wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tom Chiverton
08/08/2008 11:33 AM

> I'm almost flattered that someone thought my site was important enough > to attack... They didn't. The attack is probably driving itself based on a Google search ( [inurl:.cfm] ?) . -- Tom Chiverton **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.   If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Scott Stewart
08/08/2008 11:44 AM

Ouch.... Thanks Tom... :) -- Scott Stewart ColdFusion Developer Office of Research Information Systems Research & Economic Development University of North Carolina at Chapel Hill Phone:(919)843-2408 Fax: (919)962-3600 Email: sastew01@email.unc.edu Tom Chiverton wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Michael Dinowitz
08/08/2008 11:44 AM

Which explains why House of Fusion is being so heavily hit. We're literally everywhere on Google. Fusion Authority on the other hand has all of its urls masked to .htm so the only one being attacked there is an old .cfm archive. I'm working on a webserver level fix for this which will bypass the need to block based on IPs. I just need a few moments. The attacks are hitting VERY hard. I got 4000 alert emails in the space of 5 minutes before I turned them off again. On Fri, Aug 8, 2008 at 11:27 AM, Tom Chiverton <tom.chiverton@halliwells.com ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ben Forta
08/08/2008 11:54 AM

Yep, I turned e-mail notifications off too, leave it on and you can inadvertently turn blocking SQL injection attacks into a self-imposed DoS attack. Fun stuff. On the plus side, it's nice to see CF finally getting the recognition it deserves, even if it is from parasitic bottom-feeding bots created by despicable scum-sucking feeble-excuse-for-a-carbon-based-life-form repugnant socially-inept basement-dwelling death-penalty-deserving hacker-wannabes. --- Ben Which explains why House of Fusion is being so heavily hit. We're literally everywhere on Google. Fusion Authority on the other hand has all of its urls masked to .htm so the only one being attacked there is an old .cfm archive. I'm working on a webserver level fix for this which will bypass the need to block based on IPs. I just need a few moments. The attacks are hitting VERY hard. I got 4000 alert emails in the space of 5 minutes before I turned them off again. On Fri, Aug 8, 2008 at 11:27 AM, Tom Chiverton <tom.chiverton@halliwells.com ----- Excess quoted