It’s getting to the point where people who’re looking at this must be saying: “Man, this is getting really embarrassing for Adobe”.

There’s another (unspecified) security hole that users were made aware of May 8, 2013. The patch was then announced for and released on May 14, 2013, for the days in-between there was only the recommendation to lock away most of /CFIDE (that’s what you essentially should do anyway imho):

/CFIDE/administrator
/CFIDE/adminapi
/CFIDE/gettingstarted

Here are some relevant links:

http://blogs.adobe.com/psirt/2013/05/security-advisory-for-coldfusion-apsa13-03.html

http://www.adobe.com/support/security/advisories/apsa13-03.html

http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb13-13.html

http://blog.edgewebhosting.net/2013/05/0-day-exploit-for-coldfusion/

Adobe seriously needs to get their act together, the amount of holes and leaks in the whole /CFIDE subsystem is getting way out of hand. They need to urgently rearchitect this part of the CF server.

Without going into details – there should be a clear separation between the “administrator” area/functionality and “stuff” that’s needed for certain tags to function. The latter would be for instance the various .js files for client-side validation, files needed for cfgraph/cfchart and some others. I the recent series of security issues and hacks leads to some rethinking on how this has being built on Adobe’s end. I’d be more than happy to give up one or more of the canonical “new features that demo well but hardly anyone ever uses” for some serious work going into this pain point.

Just saying, YMMV.

{ 0 comments }

You might remember that I’ve blogged about the differences between Railo and ColdFusion in the past. Here’s another one to look out for – this popped up on the railo mailing list the other day.

A poster was asking about some Adobe CF-specific code that was used to retrieve a list of datasources (working on Adobe CFMX 6.1):

<cfset var dsService = CreateObject("java", "coldfusion.server.ServiceFactory").DataSourceService />
<cfset var sDatasources = dsService.getDatasources() />

The question was: How do you make this work on Railo? The direct and short answer is: you can’t (at least not directly). The above code is essentially using a kind-of undocumented feature in Adobe ColdFusion that’s provided through an internal, but exposed Java class called coldfusion.server.ServiceFactory. I’ve blogged about similar issues in the past.

What’s the problem with this? This class being exposed unofficially, it’s nothing one can rely on. You might say: “But this has been working in Adobe Cold Fusion since version {6|7|8|…}”, and you’re right. It has. But it might not work in Adobe ColdFusion 10.something or 11 or 12 etc. I guess you get the idea here. Relying on those kinds of features might be fine for a while but it’s not ok doing so in general and the grand scheme of things. It can be taken away from you within the few seconds it takes to install a security hotfix… cough… cough, let’s not go there maybe… :-)

For this specific issue – retrieving the datasources – there’s a built-in solution: <cfadmin> with action=”getDatasources” will do the trick nicely. If one was trying to write a codebase that works across Railo and Adobe ColdFusion, this would most likely require conditional coding though.

{ 0 comments }

Railo Express Tomcat – updates

by kai 13/05/2013

I’ve just updated the Railo Express on Tomcat bundles that I’m compiling. They now feature Apache Tomcat 7.0.40 (which is a very recommended upgrade from .39) and various Railo versions: Tomcat 7.0.39 and Railo 4.0.4.001 https://mega.co.nz/#!m0IUhYDR!abAZeAh-dukXRw8EpMHV8lWAhGpyXuiyHhpvrNouaKw Tomcat 7.0.40 and Railo 4.0.4.001 https://mega.co.nz/#!6sx3GIrT!LJRexzWxkbQItSg_PdaRaEgsSDhzNzglO6y-Sjz__tk Tomcat 7.0.40 and Railo 4.1.0.004 https://mega.co.nz/#!25ZiFZaL!Q-RzyFRjWz43Xdy7senMmSHHi1wNFgj2cywGyv9X1Tk Tomcat 7.0.40 and Railo 4.1.0.009 https://mega.co.nz/#!f94nnI7a!MuHpoltxQANMISy6l7b8Gx_iZJw8hTf-e5wZ4s4QLrg

Read the full article →

And another new episode of the 2DDU podcast

by kai 20/04/2013

Today, Mark and I recorded and published episode number 30 of our 2DDU Podcast with the awesome title “Broken Code, Rayguns, Enterprise Software and an ark”. We were joined by a guest: my friend and web entrepreneur John-Daniel Trask. It was a really good and fun recording. We spoke about a whole lot of different things, starting with [...]

Read the full article →

Railo Express Tomcat for OS X

by kai 20/04/2013

And here we go. If you want to play with and try out my unofficial Railo Express Tomcat for OS X, you can get started by just visiting the wiki page for it. On there, I’ve provided some (hopefully useful) instructions on what to do after the download – please note that the screenshots show [...]

Read the full article →

Railo Express on Tomcat

by kai 20/04/2013

The other day, I tried to help someone on the Railo mailing list to get an installation of Railo 4 on OS X going. Their problems were manyfold: They tried the OS X installer first, but ran into an issue with other file types besides CFML not properly being resolved by Tomcat (the OS X [...]

Read the full article →

Hgexportfiles – a really useful Mercurial extension

by kai 16/04/2013

The other day I found a really useful extension for Mercurial * on Bitbucket: hgexportfiles * For the ones among you who listen to 2DDU Podcast, the podcast Mark Mandel and I are hosting every few weeks, you might know that Mercurial is that apparently totally unknown, irrelevant and rather obscure distributed version control system [...]

Read the full article →

jQuery Mobile workshops in Germany in October 2013

by kai 15/04/2013

While I’m going to be in Germany for CFCamp in October, I’ll be running three instances of my “Developing mobile web applications with jQuery Mobile” workshop in each Frankfurt (October 8, 2013), Cologne (October 10, 2013) and Hamburg (October 17, 2013). The three trainings are being held in cooperation with Heise Events, the event and [...]

Read the full article →

CFCamp 2013 – Back in Germering

by kai 14/04/2013

The last two CFCamp events in Munich have been such a success so that the team around Michi Hnat is putting it on again. CFCamp 2013 will happen on October 14 and 15 (Monday and Tuesday) in Germering (right next to Munich). I’m blogging about it now, because I want to make people aware of [...]

Read the full article →

Be aware: there’s another new security hotfix for Adobe ColdFusion 9 and 10

by kai 14/04/2013

Late last week, Adobe’s CF team has released another security hotfix for Adobe ColdFusion 9 and 10. You can find the security bulleting and the respective technote here: Security bulletin: http://www.adobe.com/support/security/bulletins/apsb13-10.html Tech note: http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb13-10.html Installing it follows the common pattern of recent security hotfixes and updaters. And with me saying that it should be clear that it’s [...]

Read the full article →