ColdFusion 9 Solr Vulnerability - Are you at Risk?
Adobe just released a security bulletin APSB10-04 for ColdFusion 9. If you have the Solr Search Service running on a ColdFusion 9 server it binds the Solr Web Service to port
8983 on all IP addresses. Adobe has also released a Technote describing how to fix the issue.
Is your CF9 Server at Risk?
I've updated my ColdFusion Security Scanner: hackmycf.com to test for this issue. So you can just head over there and type in your domain / email to find out.
Adobe has classified this issue as Important not Critical, but if you are using the CF9 solr service to index sensitive data, it could very well be a critical issue for you to resolve. Also if any vulnerabilities are discovered in the Solr web service itself it may become critical. I am sure a denial of service attack would be pretty easy to perform given the tools the Solr Service exposes.
It also exposes a lot of system information, all the java system properties can be exposed by visiting: http://localhost:8983/solr/data_medialibrary/admin/get-properties.jsp, which exposes things such as:
- Operating System
- Operating System Patch Level
- ColdFusion Installation Paths
- Java Version Info
The good news is that if you have a network firewall in place, your firewall should be blocking requests for this port.
Given all you can do with this service, I would strongly recommend you do the following:
- Make sure your firewall blocks port 8983
- Disable the Solr Search Service if you are not using it.
- Follow the instructions in the technote to limit access to localhost.
- CFSummit 2016 Slides - October 17, 2016
- Scope Injection in CFML - March 3, 2015
- New HackMyCF Features - October 24, 2013
- J2EE Sessions in CF10 Uses Secure Cookies - April 5, 2013
- Learn about ColdFusion Security at cfObjective 2013 - March 6, 2013
Thanks for the info. We're running CF6.2 in my environment. After scanning the available services at the server, I don't see a SOLR Search Service as an option. Was the SOLR Service available in version 6.2? I'm not a ColdFusion Professional, so please excuse the elementary question. Please let me know at your earliest convenience, as I'm trying to identify whether the patch for the web service will apply to my environment.
Thanks in Advance,
The Solr Search Service was added in ColdFusion version 9.0, so you do not need to worry about this for CF 1-8
I am running CF Enterprise 9,0,1,274733 and planning to use Solr. I noticed that the line in the technote regarding the host restriction is in place and not commented out:
<Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set>
I did a check from another machine and thwy can't connect to Solr but that can connect to my dev website on port 80. Perhaps this is something that Adobe fixed up in later versions?
- ColdFusion returning empty response with server-error: true
- Careful applying CF11u16, CF2016u8, CF2018u2
- Sessions don't work in Chrome but do in IE
- csrfVerifyToken does not invalidate the token
- The cf_sql_ is optional in cfqueryparam
- Cookie Expires / Max-Age 1969-12-31T23:59:59.000Z
- Burst Throttling on AWS API Gateway Explained
- How to Resolve Java HTTPS Exceptions