The Securities and Exchange Commission (SEC) announced today that it was charging UBS AG (US listing) (NYSE:UBS) with violating securities laws when the bank kept $23.6 million in upfront fees and withheld that information while structuring and selling a collateralized debt obligation (CDO). UBS AG (NYSE:UBS) has agreed to pay a $50 million fine to the SEC and has agreed that the SEC can file an order that the bank violated Section 17(a)(2) and Section 17(a)(3) of the Securities Act of 1933, though UBS AG (NYSE:UBS) has not officially denied or admitted any wrongdoing. The $50 million is comprised of the $23.6…