Just a month ago OpenAI’s artificial intelligence found a severe bug in the PHP programming language that underpins roughly 70% of the web. A different AI has just helped find another one that researchers say has a similar impact.
This time it’s Depthfirst, a $580 million cybersecurity startup that develops its own cyber-focused models, that’s uncovered the flaw. Its researchers say their AI was instrumental in finding a flaw of the same severity as the one discovered with OpenAI models and can be exploited in a similar way. Dubbed , the bug resides in the way PHP handles file uploads during a user session: buying a product or posting a document. An attacker who interrupts a file upload at just the right moment can trick a PHP system into running unauthorized code. That code could steal login credentials or spy on visitors as they move around a site.
Depthfirst said the PHP Foundation will announce a patch tomorrow. The Foundation confirmed the patches, with an advisory noting a number of “critical” issues were being fixed on Thursday, though it said exploits would “require either non-default configuration or uncommon setups.” Depthfirst CEO Qasim Mithani disagreed, however, saying the exploits worked on PHP setups using the default configuration.
Mithani also urged caution, saying that affected entities should be careful with rolling out patches, as they can cause systems to fail. According to reports this week, the National Security Agency’s internal communications system went down after a patch for the previous PHP flaw caused the software to fail. Mithani recommends turning off affected features in PHP, while testing a patch before it’s fully deployed.
Depthfirst’s disclosure is the latest addition to an ever lengthening conga line of AI-discovered software exploits that’s been getting sometimes daily additions. Just this week, Forbes reported that a Pentagon-contracted startup Xint used OpenAI models to find severe issues in NGINX, another piece of internet plumbing that most of the world’s web sites rely on to operate properly. Also this week, Forbes reported on OpenAI AI getting especially good at finding weaknesses in Apple technologies, from iPhones to Vision Pro headset.
While companies like Depthfirst are responsibly disclosing the flaws its AI uncovers, criminals are working from the same glut of vulnerabilities. Google reported this week on the first example of a large language model that Russian-speaking hackers had set loose to hunt and exploit targets with no human guidance.
Leo Lin, a founding Depthfirst researcher, said his team started with a hunch: that the same stretch of PHP code was open to attacks beyond the one OpenAI and its partners disclosed last month. Lin, a former Apple and Snap security researcher, prompted Depthfirst AI to brainstorm more possible weaknesses and exploits to test them. Eventually, his team “got lucky.”
The AI found the bug fast, but exploiting it still took someone with extensive knowledge of how PHP works, Lin said.
“A couple of years ago, this would have been almost impossible to find,” says Qasim Mithani, cofounder and CEO at Depthfirst. “A human would have spent a lot of time trying to figure this out and exploit it, trying to create a payload and prove that it’s exploitable. But now with AI, it’s become infinitely easier.”
MORE ON FORBES