When I add a box to a firewall like that, I usually cut a square hole in the large firewall the size of the box. The box is then inserted into the hole and it even extends a bit behind the firewall. This gives gluing surface on both sides of the firewall plus additional area where triangle stock can be added. This produces a very strong and stiff structure.