West Palm Beach-based Ocwen Financial Corp. was hit by a lawsuit from more than 20 states, including Florida, and the U.S. Consumer Financial Protection Bureau, alleging that it mishandled mortgages, resulting in illegal foreclosures and other harm to borrowers.