The development comes as Facebook looks to triple down on its messaging services by merging WhatsApp, Facebook Messenger and Instagram Direct and bringing WhatsApp-level encryption to the others. The attack would not affect Facebook's ability to do that.
The malware was able to penetrate phones through missed calls alone using the app's voice calling function, said the WhatsApp spokesman, who was not authorised to be quoted by name. He said an unknown number of people — an amount in the dozens at least would not be inaccurate — were infected with the malware, which the company discovered in early May, the spokesman said.
John Scott-Railton, a researcher with the internet watchdog Citizen Lab, called the hack "a very scary vulnerability."
"There's nothing a user could have done here, short of not having the app," he said. The vast majority of hacks involve some sort of user interaction, such as clicking on an infected link.
The WhatsApp spokesman said its flaw was discovered while "our team was putting some additional security enhancements to our voice calls." He said engineers found that people targeted for infection "might get one or two calls from a number that is not familiar to them. In the process of calling, this code gets shipped."
WhatsApp, which has more than 1.5 billion users, immediately contacted Citizen Lab and human rights groups, quickly fixed the issue and pushed out a patch. He said WhatsApp also provided information to US law enforcement officials to assist in their investigations.
"We are deeply concerned about the abuse of such capabilities," WhatsApp said in a statement.
Although WhatsApp urged all users to update the program on their phones, only a minuscule percentage run the risk of being targeted by such malware.
NSO said in a statement that its technology is used by law enforcement and intelligence agencies to fight "crime and terror."
"We investigate any credible allegations of misuse and if necessary, we take action, including shutting down the system," the statement said. A spokesman for Stephen Peel, whose private equity firm Novalpina recently announced the purchase of part of NSO, did not return an email seeking comment.
The revelation adds to the questions over the reach of the Israeli company's powerful spyware.
Prior to the latest WhatsApp revelation, NSO's spyware has repeatedly been found deployed to hack journalists, lawyers, human rights defenders and dissidents. Most notably, the spyware was implicated in the gruesome killing of Saudi journalist Jamal Khashoggi, who was dismembered in the Saudi consulate in Istanbul last year and whose body has never been found.
Several alleged targets of the spyware, including a close friend of Khashoggi and several Mexican civil society figures, are currently suing NSO in an Israeli court over the hacking.
On Monday, Amnesty International — which said last year that one its staffers was also targeted with the spyware — said it would join in a legal bid to force Israel's Ministry of Defense to suspend NSO's export license.
That makes the discovery of the vulnerability particularly disturbing because one of the targets was a UK-based human rights lawyer, the attorney told The Associated Press.
The lawyer, who spoke on condition of anonymity for professional reasons, said he received several suspicious missed calls over the past few months, the most recent one on Sunday, only hours before WhatsApp issued the update to users fixing the flaw.
In its statement, NSO said it "would not or could not" use its own technology to target "any person or organisation, including this individual."
- AP