You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Our 3rd party ASV is detecting an incident against our self hosted Bitbucket Server instance:
Apache Tomcat AJP RCE Vulnerability (Ghostcat)
According to an article I found, the AJP connector service can be disabled by commenting out or removing the appropriate line from the $CATALINA_HOME/conf/server.xml
file and restarting Tomcat.
Based on my understanding, Tomcat is embedded as part of Bitbucket Server and not a seperate install so how can this service be disabled?
Hi @grantmcinnes ,
I see you've listed that you're on Bitbucket Server 7.6 in your question information. Given that, can you double-check your ASV for a specific CVE it is checking against and what its detection criteria is?
CVE-2020-1938 (Ghostcat) was mitigated in Tomcat 9.0.31, which we incorporated into Bitbucket Server starting in version 7.1.0. Bitbucket Server versions in the 7.6 line are not susceptible to CVE-2020-1938.
If by chance you are on an older version, you can look in bitbucket.properties for this string:
connector-protocol=AJP/1.3
Bitbucket Server's containerized setup is a bit different than most applications running in Tomcat - for example in Jira, you would set an AJP connector up in the server.xml file. In Bitbucket Server, configuration items like this are in the bitbucket.properties file.
It is very uncommon to have AJP enabled with Bitbucket Server, although it is possible. I would go through those two steps to see if this is something you need to modify:
Let me know what you find and we'll get you sorted if there's something to change!
Cheers,
Daniel | Atlassian Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.