"According to RFC 7230, prioritization should be given to the Transfer-Encoding HTTP header by default. Technologies in the chain of communication should all be reviewed to ensure that this prioritization is in place."
Apparently Domino v9.0.1 is vulnerable to HTTP Request Smuggling. Unfortunately, the IBM article that describes this;
https://www.ibm.com/blogs/psirt/ibm-security-bulletin-multiple-vulnerabilities-have-been-identified-in-the-ibm-http-server-bundled-with-ibm-domino-9-0-0x-9-0-1x-cve-2015-1283-cve-2015-3183-cve-2015-4947/
points to articles that IBM no longer hosts.
This has to deal with our Domino servers using Content-Length Headers as opposed to Transfer-Encoding Headers.
1) Is this configurable on Domino 9.0.1 servers? If so where would I look?
2) Is this configurable/fixed on more current versions of Domino?
Hi @Mark James !!
As far as I know, this problem was reported on the SPR # KLYHA2FL2S and fixed in November 2015, with the builds 9.0.1 FP4 for Domino and 8.5.5.7 for IHS (IBM HTTP Server).
So if you are running a Domino 9.0.1 version later than 9.0.1FP4, your environment is fine regarding this matter.
Please mark this question as answered and helpful if your issue is resolved. So that you can also help other community members who are facing the same issue or have the same doubt.
Best Regards
Wiliam Dias
We're running on a later version of the Fix Pack. Can't seem to find the SPR you're siting. Do you have a copy or a URL?
Thanks.
@Mark James
I'm sorry, but I searched and didn't find any public information on the internet about the SPR that I mentioned.
There are hundreds of thousands of documents from the IBM sites, which have already been removed by them there but have not yet been transported to the HCL websites and possibly this is one of them.
The only documents I found talking about this matter are the ones below, but one of them it is in Japanese:
(参考) Domino 9.0.0x と 9.0.1x に同梱されている IBM HTTP Server における複数の脆弱性 (CVE-2015-1283, CVE-2015-3183, CVE-2015-4947)
https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0033962
What this document basically explains, is that the use of TLS1.2 on Domino prevents this issue and this feature was implemented in version 9.0.1FP3IF2:
IBM Notes and Domino Interim Fixes to support TLS 1.2
https://ds_infolib.hcltechsw.com/ldd/dominowiki.nsf/dx/TLS_1.2
I believe that this information is enough...but if not, I recommend that you open a case for HCL Support to receive the information.
Best Regards
Wiliam Dias
btw, we're not using IBM HTTP Server. Would this fix pack resolve the issue between a Domino server and a third-party load balancer?
hi @Mark James
The fix informed on the article/documentation mentioned above is for Domino only. If you are using a third-party load balancer in front of the Domino servers, you need to check with the manufacturer if it is also affected by the issue and how to fix it.
Best Regards
Wiliam Dias
Sooo… there is no address book configuration setting that would force Transfer Encoding headers? (I looked around the 11.1 documentation and didn't find anything)
I'd expect to find something like that in the Web-site docs of the address book, but also checked the Server and Configuration docs. Nothing jumped out at me.
Then again, could there be some Notes.ini setting? I've looked at the documentation at the HCL site, but I'm pretty sure the list of settings aren't complete.
I'm sorry @Mark James , but I'm not sure if I understand what you want to do on the Domino server now?
If you are running Domino version 9.0.1FP4 or later and the access via TLS1.2 is already configured on the Domino side, there is no need to take any further action to prevent attacks related to the vulnerabilities you have reported because this is enough.
But when using Internet Site docs, Domino allows you to create custom headers. To do this, you need to open your Internet Sites doc and click on the option displayed on the image below:
After this, in the field "Type of rule" choose the option "HTTP response headers" and the form will show you options to create custom headers. For you, this form below should appear a little different because I'm already using Domino v11.0.1:
This article explains more about creating custom headers on Domino:
Adding Security (HTTP Response) Headers to IBM (Lotus) Domino Server to get an “A” Rating
And as you can see on the product documentation, since Domino v10.0.1 it is now possible to include up to 20 custom headers instead of three from previous versions:
Improvements to Web Site rule documents for HTTP response headers
Best Regards
Wiliam Dias
Yeah, I saw the article about the increased # of custom headers for the rules a day or two ago. I'm just trying to wrap my head around this.
Portswigger's description of the HTTP Request Smuggling issue.
So as I understand it, the problem is when a request comes in with both Content-Length and Transfer-Encoding headers
POST / HTTP/1.1
Host: vulnerable-website.com
Content-Length: 13
Transfer-Encoding: chunked
From what I understand from our network guys, we should "Prioritize the Transfer-Encoding header" and I would assume that means we would want to discard the Content-Length header if both headers are present. Can this be done within the Web-site rule?
So far as the last 3 options to prevent HTTP request smuggling, one question I have is does (or will) Domino support HTTP/2? That would likely be the simplest solution to this issue.
Hi Mark..
Currently, Domino does not support HTTP/2 however, there is already an enhancement request created asking for this and as you can see, the current status is "Planning to implement".
HTTP/2 support
https://domino-ideas.hcltechsw.com/ideas/DOMINO-I-30
Please vote on this request also, because the more customers who have requested this functionality, the greater is the chance that developers give priority quickly to this improvement.
I recommend that you also open a case for HCL Support teams to have them analyzing your current environment first.
You will need to activate some debug parameters on your Domino server to collect more details about what is happening in your Domino server at the moment it receives an HTTP request. Then you need to submit the Console.log file and all the generated HTTHR * .log files for analysis and based on this, they will send you the actions you need to do.
Best regards.
Wiliam Dias
(Note: I had to delete my original account in order to register for support and download rights. This is the same guy that started this chain.)
The final answer from HCL:
I have researched about our case and found another case with a similar vulnerability with three recommendations on how to remediate this:
1. Disable reuse of back-end connections, so that each back-end request is sent over a separate network connection.
2. Use HTTP/2 for back-end connections, as this protocol prevents ambiguity about the boundaries between requests.
3. Use exactly the same web server software for the front-end and back-end servers, so that they agree about the boundaries between requests.
I have then discussed this with our extended team and this is their feedback:
For #1, you can disable HTTP Persistent Connections in the Server document > Internet Protocols > HTTP tab. You should see the setting close to the bottom of the page. With this disabled, a new connection must be established for every HTTP request. However, please note that this can cause performance issues as this will increase the load of the server.
For #2, the use of HTTP/2 is not yet supported with Domino. This is currently an existing enhancement. You can vote on this link - https://domino-ideas.hcltechsw.com/ideas/DOMINO-I-30
There is no ETA yet when this will be implemented.
For #3, this seems not possible since you have a load balancer in front of the two Domino web servers.
Additionally, per our extended team this vulnerability is done using a man in the middle attack, which means that there is not much we can do on Domino side if one has access in the network between the load balancer and the Domino servers. This should be restricted in the network layer, or you should be using TLS between all HTTP clients/server between load balancer and Domino if the network between the load balancer and Domino can be accessed.
I've gone ahead and disabled persistent connections.....