Given my interest in SCM and CI systems I was a little keen to see how this is done at Mozilla as part of their bug bounty program.
Thanks to freddy I was granted Level 1 access to Mozilla’s SCM at hg.mozilla.org
in late 2022. As Mozilla is a pretty transparent company I found the version-control-tools repository which contains the code and configuration behind hg.mozilla.org
.
I spent a couple of hours to a very few days looking at this code, setting up a simplified test system, and popping shells on the infrastructure around Christmas 2022. In this post I’ll outline one of two authenticated RCE flaws I identified and reported to Mozilla on the 26th of December in 2022.