Catalyzes the conversion of the 17-keto group of estrone, 4- and 5-androstenes and 5-alpha-androstanes into their 17-beta-hydroxyl metabolites and the conversion of the 3-keto group of 3-, 3,17- and 3,20- diketosteroids into their 3-hydroxyl metabolites. Exhibits reductive 3-beta-hydroxysteroid dehydrogenase activity toward 5-beta-androstanes, 5-beta-pregnanes, 4-pregnenes and bile acids. May also reduce endogenous and exogenous alpha-dicarbonyl compounds and xenobiotic alicyclic ketones.