Copy link to clipboard
Copied
Hello all,
Others have noted the security issue with Solr and version 7.
We don't need it on our servers, so I would like to uninstall, I am not sure yet if I can disable the add-on service cause I think the cfhtml2pdf tag might be used in our code.
So if I can just uninstall SOLR then I would like to do that....but I have no idea which package in package manager I can uninstall.
I have looked at them and none seem to relate to SOLR.
So which one is it?
It's the one called "search".
Copy link to clipboard
Copied
Copy link to clipboard
Copied
It's the one called "search".
Copy link to clipboard
Copied
Awesome! You are correct it is part of that package. So weird.
Thank you.
Copy link to clipboard
Copied
I uninstalled the pkg, and restarted CF service. Still solr comes up to a webpage when I go to Localaddress:8993
Edit:Restarted Add-On service, page still comes up as well.
Copy link to clipboard
Copied
So a few points of clarification (it can all get confusing):
Try that and let us know how it goes.
Or maybe Adobe (or someone else) may propose yet another solution.
Copy link to clipboard
Copied
Thank you for the info!! Much appreciated.
What I did on one of our servers (will do 2 more when we can schedule downtime)
1) Rename the existing jetty folder under cfusion to jetty_old
2) Make a new folder jetty under cfusion
3) Go to control panel and uninstall CF2021 Add On services
4) Once completed, please reboot the server
5) After reboot, run the Add On installer from this link: https://cfdownload.adobe.com/pub/adobe/coldfusion/2021/add-on/ColdFusion_2021_Addon_WWEJ_win64.exe
6) During installation, point it to cfusion\jetty folder (new created)
7) In the install screens, uncheck the Solr service and proceed. Please see the below screenshot
I did need to add my account to the permissions on the folder so I could change the name of the jetty folder.
Copy link to clipboard
Copied
Glad to hear if that's "solved" your problem, Seth.
That said, it's not at all what I proposed. Is that what Adobe suggested? I'm sure it "worked". I could argue it was both overkill and could potentially hold unforeseen trouble, whereas my approach was simpler and held no such trouble.
Even so, I realize you may be satisfied with the result you achieved, which may prove sufficient for you.
For readers who may wonder what are my concerns with that other approach, there at a couple of matters.
First:
Some good news is that you were told to make that copy of the original jetty folder; therefore you could (if you were motivated) use a compare tool to help with each of my points, noting differences and considering what to "restore". (I favor the wonderful Beyond Compare tool for such tasks.)
Second, another thing to beware about running that add-on installer is that some people don't notice its default is to install itself into to a new folder OUTSIDE of the cf folder (which it offers by default). In that case, subsequent cf updates don't know about or update that different location...as they expect to update only that jetty folder within cf. Thankfully you were steered clear of that reef.
Finally, some people will wonder what you mean by your step 3: some will presume that by "control panel" you mean Windows Services, and of course one can't "uninstall" a service there. But I assume you mean instead Windows "add or remove programs", which would let you uninstall the add-on service--as was implemented based on choices made when cf itself was originally installed.
Sorry for what may seem excessive elaboration. It's just that I know these forum posts will be found in years to come as people search for help. The info you were given didn't presume to explain these things, but I know from spending my days helping people that the info should benefit some folks. 🙂
Copy link to clipboard
Copied
Don't apologize, I appreciate the detailed elaboration.
I may try your approach with our other servers. I would prefer as little impact to our setup as possible.
I don't need more issues to deal with.
Thank you Charlie.
Copy link to clipboard
Copied
Thanks, Seth. And good to hear on that prospect. Just remember then how they would differ from each other., which may become important down the road:-)
As for my apology, it's simply that while some appreciate such elaboration, I know that some others really do not. But we soldier on here... or cowboy up...or run the race set before us, to pick among metaphors:-)
Copy link to clipboard
Copied
Excactly, which is why I would prefer your way if it works and achieves the results needed....as our PCI audit is finding issues with it.
I for one like detail, I would rather understand what is happening.
Copy link to clipboard
Copied
That's indeed the audience I'm usually writing for. 🙂 Great to meet another member of the club!
Copy link to clipboard
Copied
Hey Charile, I tried your option to disable SOLR. Seems to have worked. There is no longer a web page coming up when I go to that port.
This was in my test environment. If I do this in Production. Can you think of anyway that our security auditors might scan the systems and still get some response from SOLR?
When they tagged us on this issue, they found 2 issues
- Missing Patches (since it was version 7.2.1 and version 8 is out)
- No authentication
Regards
Copy link to clipboard
Copied
Good to hear. As for the port, again that's jetty rather than solr. If you're wanting to ensure solr is gone, if it's no longer in that cfusion/jetty/webapps (as either a war file or folder), then it can't be served via jetty (that port), and so it's gone with respect to this implementation within cf.
I'll just remind readers that if someone gets the separate cf add-ons installer, that defaults to implementing itself in a folder separate from cf. So you'd want to remove THAT to ensure "no solr related to cf remains".
BTW, when Adobe updates CF, some of those updates do update solr. I see that the Oct 2024 cf update for cf2023 updated its solr 8, and the same one for cf2021 updated its solr 7. Finally, newer cf versions implement still newer solr versions, with Cf2025 coming with solr 9.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now