Coronal mass ejection shock fronts containing the two types of intermediate shocks