Boolean operation section cut pattern black
The solution is to apply the material of the cut plane to the objects you want to cut below their original materials. Here this dark brown material is applied to the cut plane as a primary material and to the box as secondary material. Then the boolean operation colors the common faces with the material of the section plane.