The advent of 6G is expected to enable many use cases which may rely on accurate knowledge of the location and orientation of user equipment (UE). The conventional localization methods suffer from limitations such as synchronization and high power consumption required for multiple active anchors. This can be mitigated by utilizing a large dimensional passive reconfigurable intelligent surface (RIS). This paper presents a novel low-complexity approach for the estimation of 5D pose (i.e. 3D location and 2D orientation) of a UE in near-field RIS-assisted multiple-input multiple-output (MIMO) systems. The proposed approach exploits the symmetric arrangement of uniform planar array of RIS and uniform linear array of UE to decouple the 5D problem into five 1D sub-problems. Further, we solve these sub-problems using a total least squares ESPRIT inspired approach to obtain closed-form solutions.