Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.
August 17, 2009
Security hotfixes have been posted for ColdFusion and JRun.
There are no trackbacks for this entry.
No trackback URL. Trackbacks are only allowed via interactive form.
|
2. CVE-2009-1876 instructions only mention Apache. Should this hotfix be applied if we are running IIS (specifically IIS7)?
Thanks. Can't find any information about the hotfixes other than the link you posted.
Includes fix for CVE-2009-1876.
Steps to deploy this hotfix :
1) Backup the existing {cf_root}runtime\lib\wsconfig.jar to wsconfig.jar.bu.
2) Download the hot fix (wsconfig.jar - 2.9 MB).
3) Stop all ColdFusion servers and Apache webserver.
4) Copy the downloaded wsconfig.jar to {cf_root}runtime\lib .
5) Navigate to the {cf_root}\runtime\lib directory and run the connector upgrade:
cd {cf_root}\runtime\lib
java -Dtrace.ci=1 -jar wsconfig.jar -upgrade -v
6) Make sure the upgrade completed successfully.
7)Inspect {cf_root}\runtime\lib\wsconfig\wsconfig.log for errors
8) java -jar wsconfig.jar -info
The command should return, "Macromedia JRun 4.0 (Build 108785)".
9)Start the ColdFusion servers and apache webserver.
Not everyone follow blogs for hotfixes like these...
1876 is an odd one. It only refers to Apache web server (not IIS) so does that mean it doesn't need to be installed if you run IIS? (I ran it on a test server with IIS and it seemed to patch okay) and also refers to a "runtime" directory which doesn't contain a "lib" directory. Very odd. Running the connector update from a cmd prompt is scary, we don't know if this could risk upsetting a CF/IIS cluster.
Thank heavens for blogs otherwise CF devs & admins wouldn't have known about the security issues or where to get the fixes from. What have Adobe got against an update and security mailing list? Maybe in CF10 the CF Administrator can check for updates once a day and notify the administrator? Quite a few server apps are doing that these days.
@Steve - It is probably saying that the java command was not found, you can typically find java.exe in /runtime/jre/bin/ under your ColdFusion root directory.
I backed it off and things were back to normal.
Ran the upgrade again and it's broke again.
Suggestions?
It still shows: Update Level /C:/ColdFusion8/lib/updates/hf801-1875.jar
This seems to uphold the earlier post by Gary Fenton that the two hot fixes are the same one. Looks as if hf801-1878.jar has the contents of hf801-1875.jar ??????
@theo den brinker - I'm with you. This is a harsh way to apply these patches.
@Dave Hannum - the possibility that one of these patches could kill a production server is my worst nightmare!
--- Ben
The zip file for CVE-2009-1873 and CVE-2009-1874 hotfixes contains the file jmc-app.war, not jmc-app.ear. Is this an error or is there something else we need to do?
We are using CF 8.0.1 and not JRun directly. Do we still need to apply the hotfix?
Everything seems fine after I installed wsconfig (CVE-2009-1876) on Windows Server 2003 SP2, do I need to roll back to the old version of wsconfig because the update is only intended for Apache?
It would be very helpful if Adobe would update the security bulletin and readme files with the OS and software configurations that CVE-2009-1873, CVE-2009-1874, and CVE-2009-1876 apply to.
i.e you have jmc-app.ear deployed in JRun4\servers\admin.
@Kevin Can you please reconfigure apache after replacing the wsconfig.jar and try again and let me know.While reconfiguring apache can you please enable verbose logging also.
Steps to follow -
1)Stop Apache
2)Replace wsconfig.jar
3)Start Apache
4)Reconfigure Apache as webserver with verbose logging enabled.
Please let me know if you are still facing an issue.If yes please send me an email directly with the verbose logs and your configuration details - my email id asha@adobe.com.
I found this great blog post which had compiled all the instructions and download links and made it easier to print out and follow:
http://www.coldfusionsecurity.org/post.cfm/help-ap...
Why couldn't Adobe have done something like this themselves? Next time can I suggest:
- you package all updates for the bulletin into zip files applicable to each version.
- if a hotfix is only applicable to a certain web server clearly note this on the bulletin.
- for a big update like this please compile all instructions into a file for each CF version (if they are different) check the cf security site above for an example.
- package update installers? I know this may be a pipe dream but if you make it hard for people to patch they won't and this could lead to CF getting a bad name as being insecure as more and more critical updates are ignored.
Please take this as a little constructive critisism from a CF server admin.
Cheers, Steve.
Rather than saying "it is not required if you are using IIS." you should say "Apache only, It will break your server if you are running IIS"
Reading the instructions I saw the references to Apache but it was not clear the patch was Apache only.
OS: Win2003; CF 7; IIS
I'll uninstall CVE-2009-1876 tonight (we are running iis).
Thanks for any help!
if it looks risky because of poor instructions. I also found the reference to apache in 1876 confusing. While it looks like someone's not generalised
the instructions from the system they tested on, that may not be the case. Does the fix only apply to those using apache? It's just not clear.
Most of us developers have done this sort of thing with documentation and I appreciate the fixes being provided, but I think we need the extra 5%
effort to tidy up the instructions.
I can't find jmc-app.ear or .war for that matter on my system. While I suspect that instructions assume an install requiring a separate Jrun server
and so a Jrun management console, it's just not made clear.
I echo the comment already posted that no one wants to break their production system with a security patch.
Thanks for the comments guys. Most users are not reporting issues with the hot fixes, but the fact that some are is very worrying. I have asked the engineering lead to take a look at this. Stay tuned.
--- Ben
Is it correct to copy back the wsconfig.jar an re-run 'java -Dtrace.ci=1 -jar wsconfig.jar -upgrade -v' to uninstall the hotfix? Will this affect any other hotfixes? (do I need to reinstall any other hotfix again?)
System: Win2003; IIS; CF7 (Update Level: "/C:/CFusionMX7/lib/updates/hf702-1875.jar")
Any help would be appreciated!
There seem to be several security patches recently released. Could we get a rollup for an 8.0.2 release?
http://download.macromedia.com/pub/coldfusion/upda...
other sites show
http://download.macromedia.com/pub/coldfusion/upda... as the correct zip which is larger and contains the _logintowizard.cfm
Can someone from Adobe please check and verify which is the correct download. Thank You
It wouldn't be a bad idea to show the updated files and dates/versions as well.
CVE-2009-1872 and CVE-2009-1877 Hotfix for ColdFusion 7.0.2
http://download.macromedia.com/pub/coldfusion/upda...
CVE-2009-1872 and CVE-2009-1877 Hotfix for ColdFusion 8
http://download.macromedia.com/pub/coldfusion/upda...
CVE-2009-1872 and CVE-2009-1877 Hotfix for ColdFusion 8.0.1
http://download.macromedia.com/pub/coldfusion/upda...
If you disabled flex remoting that also disables the “browse server” functionality. You have to paste the full path in the “Update File” text box and click “submit changes” to upload a .jar file on the System Information page.
java -Dtrace.ci=1 -jar wsconfig.jar -upgrade -v
Because there is no java file on my system. Can I just install the latest java? I have no idea how this has been running for a year without it.