Leak from unvented system boiler

I’ve got a small leak from a pipe at the back of the boiler, it looks like the condenser trap, is it a case of just replacing the pipe? It was making a bubbling noise prior to this.

This is the pipe that’s leaking, do I just need to replace the corner pipe? It’s not under any pressure so I’m surprised it’s leaking there and not just falling down the straight pipe