Former Vice President Al Gore and the White House traded accusations over national security Tuesday in a dispute that also pulled in President Bush's other presidential election rival, John Kerry.

At issue was Bush's secret domestic eavesdropping program, which Gore denounced in a speech Monday as illegal and a threat to the U.S. system of government.

Presidential spokesman Scott McClellan shot back at Gore in a style reminiscent of campaigns past, calling the Democrat who lost to Bush in 2000 a hypocrite and accusing him of grandstanding for media coverage.

"If Al Gore is going to be the voice of the Democrats on national security matters, we welcome it," McClellan said. He suggested Gore does not understand the threat facing America from terrorists overseas.

Gore charged that Bush broke the law by allowing the National Security Agency to monitor e-mails and phone calls to and from the United States without approval from a special federal court that authorizes requests to eavesdrop on Americans.

Two civil liberties groups — the American Civil Liberties Union and the Center for Constitutional Rights — filed federal lawsuits Tuesday seeking to block the eavesdropping program, which they called unconstitutional surveillance of American citizens.

McClellan said the Clinton-Gore administration had engaged in warrantless physical searches, and he cited an FBI search of the home of CIA turncoat Aldrich Ames without permission from a judge. He said Clinton's deputy attorney general, Jamie Gorelick, had testified before Congress that the president had the inherent authority to engage in physical searches without warrants.

"I think his hypocrisy knows no bounds," McClellan said of Gore.

But at the time of the Ames search in 1993 and when Gorelick testified a year later, the Foreign Intelligence Surveillance Act required warrants for electronic surveillance for intelligence purposes, but did not cover physical searches. The law was changed to cover physical searches in 1995 under legislation that Clinton supported and signed.

Bush's attorney general, Alberto Gonzales, made the same arguments as McClellan during interviews Monday on CNN's "Larry King Live" and FOX News Channel's "Hannity & Colmes."

Gore said Gonzales made a "political defense" of the president, showing why the attorney general should not be in charge of reviewing charges against Bush and should instead name a special counsel.

"His charges are factually wrong," Gore said in a written statement Tuesday. "Both before and after the Foreign Intelligence Surveillance Act was amended in 1995, the Clinton-Gore administration complied fully and completely with the terms of the law."

Kerry said Tuesday that he agrees with Gore and that Bush has "definitely" broken the law. He said it's difficult to get recourse with the Republican-controlled Congress.

"I hope the administration will, of its own admission and its own steps, reverse course, admit the mistake, and try to guarantee that the protections put in place are adhered to," the Massachusetts senator said on CNN's "The Situation Room."