Skip to main content
Solved

Apache Tomcat RCE Vulnerability - April19 (Windows)

  • May 17, 2019
  • 13 replies
  • 93 views

softwrite1
Forum|alt.badge.img

Does the latest version of FME Server use Apache Tomcat versions 7.0.94, 8.5.40, 9.0.19 or later ? Our security monitors alerted us to the following Critical vulnerability. See https://blog.trendmicro.com/trendlabs-security-intelligence/uncovering-cve-2019-0232-a-remote-code-execution-vulnerability-in-apache-tomcat/

Thanks

Best answer by hollyatsafe

Hi @softwrite1,

Safe Software are aware of this vulnerability which involves Apache Tomcat’s Common Gateway Interface (CGI) Servlet. FME Server 2019 uses version 8.5.32 and also does not use the CGI protocol so this should not be an issue for our users.

You can confirm this by reviewing your tomcat web.xml and searching for 'CGIServlet' and you should see this is disabled by default.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

13 replies

Forum|alt.badge.img+2
  • 719 replies
  • Best Answer
  • May 17, 2019

Hi @softwrite1,

Safe Software are aware of this vulnerability which involves Apache Tomcat’s Common Gateway Interface (CGI) Servlet. FME Server 2019 uses version 8.5.32 and also does not use the CGI protocol so this should not be an issue for our users.

You can confirm this by reviewing your tomcat web.xml and searching for 'CGIServlet' and you should see this is disabled by default.


fmeuser_gc
Contributor
Forum|alt.badge.img+9
  • Contributor
  • 81 replies
  • March 3, 2020

Hi @hollyatsafe,

 

Another Tomcat vulnerability on recent Tomcat versions -

https://thehackernews.com/2020/02/ghostcat-new-high-risk-vulnerability.html

https://www.chaitin.cn/en/ghostcat

 

Any updates on this please? Thanks!


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • 671 replies
  • March 3, 2020

Hi @hollyatsafe,

 

Another Tomcat vulnerability on recent Tomcat versions -

https://thehackernews.com/2020/02/ghostcat-new-high-risk-vulnerability.html

https://www.chaitin.cn/en/ghostcat

 

Any updates on this please? Thanks!

Hi @fmeuser_gc, our team is actively looking into the issue you have highlighted and we will provide an update regarding any mitigation or action required.


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • 671 replies
  • March 4, 2020

Hi @fmeuser_gc, our team is actively looking into the issue you have highlighted and we will provide an update regarding any mitigation or action required.

We have determined that the AJP Connector is not required for FME Server processes. Before we release any product updates we will run this change internally against our full test suite.

You might consider implementing the suggestions from the article(s) you have linked above if you have more immediate concerns.

We will post content to the FME Community after we analyze the results of internal testing.

If you need updates in a more timely fashion, or have additional questions or concerns, please reach out to our Support Team.


fmeuser_gc
Contributor
Forum|alt.badge.img+9
  • Contributor
  • 81 replies
  • March 5, 2020

Hi @hollyatsafe,

 

Another Tomcat vulnerability on recent Tomcat versions -

https://thehackernews.com/2020/02/ghostcat-new-high-risk-vulnerability.html

https://www.chaitin.cn/en/ghostcat

 

Any updates on this please? Thanks!

Update on this Tomcat Vulnerability - The solution here is either to upgrade Tomcat to latest version or disable AJP connector in server.xml file.


fmeuser_gc
Contributor
Forum|alt.badge.img+9
  • Contributor
  • 81 replies
  • March 5, 2020

We have determined that the AJP Connector is not required for FME Server processes. Before we release any product updates we will run this change internally against our full test suite.

You might consider implementing the suggestions from the article(s) you have linked above if you have more immediate concerns.

We will post content to the FME Community after we analyze the results of internal testing.

If you need updates in a more timely fashion, or have additional questions or concerns, please reach out to our Support Team.

Hi @rylanatsafe, the confusion here was the AJP connector was enabled (by default) though it's not needed. We've disabled it now and looks okay.


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • 671 replies
  • March 5, 2020

Update on this Tomcat Vulnerability - The solution here is either to upgrade Tomcat to latest version or disable AJP connector in server.xml file.

@fmeuser_gc You are correct on both accounts! We plan to publish an article detailing how FME Server admins can disable the AJP Connector for their existing installations. We will disable this component in the product, and will schedule a Tomcat upgrade (as you note, where it's disabled by default now).

There were no issues observed after our internal testing.


jeovis
Contributor
Forum|alt.badge.img+2
  • Contributor
  • 7 replies
  • March 25, 2020

@fmeuser_gc You are correct on both accounts! We plan to publish an article detailing how FME Server admins can disable the AJP Connector for their existing installations. We will disable this component in the product, and will schedule a Tomcat upgrade (as you note, where it's disabled by default now).

There were no issues observed after our internal testing.

Just an FYI that I did an install of 2020.0.0.1-b20202-win-x64 that still has the AJP connector enabled. It looks like this is not disabled by default until 9.0.31, 9.0.24 is what was installed with the default windows install. Commenting out the AJP connector doesn't seem to affect anything.


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • 671 replies
  • March 25, 2020

Just an FYI that I did an install of 2020.0.0.1-b20202-win-x64 that still has the AJP connector enabled. It looks like this is not disabled by default until 9.0.31, 9.0.24 is what was installed with the default windows install. Commenting out the AJP connector doesn't seem to affect anything.

Hi @jeovis, the AJP Connector will be disabled by default in the next minor update of FME Server 2020.0.

As you have noticed it doesn't affect anything – we do not use this component with FME Server.

 

 

Edited to specify FME Server 2020.0.

francis
Contributor
Forum|alt.badge.img+12
  • Contributor
  • 20 replies
  • April 9, 2020

@rylanatsafe Hi, we are running FME Server 2019.2.1 Build 19813 - win32 . Can we safely upgrade tomcat to version 9.0.31 without upgrading the FME server?

Is the article regarding disable the AJP connector already available?

Kind regards

Francis


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • 671 replies
  • April 9, 2020

@rylanatsafe Hi, we are running FME Server 2019.2.1 Build 19813 - win32 . Can we safely upgrade tomcat to version 9.0.31 without upgrading the FME server?

Is the article regarding disable the AJP connector already available?

Kind regards

Francis

Hi @fbulco, I'm sorry that we haven't posted this information more generally yet. The fix for the AJP Connector is simple enough that you can comment out the following lines in <FMEServerDir>\Utilities\tomcat\conf\server.xml 

<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

We have not used this Connector in any FME Server processes.

 

As for upgrading Tomcat, we have performed extensive testing with Tomcat 9.0.24, so while there are no known issues with 9.0.31, please note that it has not been included in our standard test coverage.

Hope that helps!


fmeuser_gc
Contributor
Forum|alt.badge.img+9
  • Contributor
  • 81 replies
  • April 24, 2020

@jsarris, Yes, you can disable the AJP connector. There shouldn't be any impact.

FYI, this will be disabled by default from next versions.


Forum|alt.badge.img+2
  • 719 replies
  • May 28, 2020

Any users that come across this post looking for information on the AJP Connector vulnerability please see this article for more information.

 

 

If your security scan reports any other vulnerabilities with FME Server, please contact Safe Software Support with the CVE numbers so that we can investigate these for you.