leaking master cylinder cap.

Could your system be blocked causing the pressure to come back through your master cylinder. My distribution block was plugged causing it to leak out the lid same as yours.