brakes work front o/s with rear n/s and front n/s with rear o/s,
so if front are ok i would say your master cylinder is ok, try rear flix brake pipe this could be expanding under pressure instead of letting fluid through to your slave cylinders only way to test is to replace, hope this helps.
graham
February 2007