President Obama and Red Sox player David Ortiz pose for a photo at the White House this week. (AP)

White House lawyers have spoken with officials at Samsung about the "selfie" that Red Sox player David Ortiz snapped this past week with President Obama, according to one of the president's top advisers.

Dan Pfeiffer, a senior adviser to Obama, reiterated that the White House knew nothing about Ortiz's arrangement with Samsung. The mobile phone giant recently signed the baseball star to an endorsement deal that requires him to promote the company's phones and try to create viral moments like his photograph with the president at the White House.

Obama "obviously didn't know anything about Samsung's connection to this," Pfeiffer said Sunday on CBS's "Face the Nation. "And perhaps maybe this will be the end of all selfies. But in general, whenever someone tries to use the president's likeness to promote a product, that's a problem with the White House."

Asked whether the White House had discussed the situation with Samsung executives, Pfeiffer said "We've had conversations with Samsung about this and expressed our concerns." But when pressed on details of the conversations, Pfeiffer demurred: "We've left that conversation between the lawyers."