Enzyme that catalyzes the hydrolysis of both DNA and RNA at the 5'-position of the phosphodiester bond. Endonucleolytic cleavage to nucleoside 3'-phosphates and 3'-phosphooligonucleotide end-products. Belongs to the thermonuclease family.