Numerous websites have recently experienced exposed credentials, according to researchers at Comparitech who worked in tandem with security researchers Bob Diachenko and Sebastien Kaul. As the recent post from Comparitech notes, the website vulnerability can be traced specifically to a PHP framework named Laravel that was left in debug mode on roughly 20 percent of the 768 websites with active Laravel sessions. Of the 20 percent of websites left in the debug mode, the most prominent of these is the one belonging to U.S. President Donald Trump.
Researchers discovered that a website for Donald Trump’s reelection campaign had been left in debug mode. They explain the consequences of this in the following excerpt from their research post:
A subdomain of Trump’s campaign website contained a mail server configuration exposed in plain text, visible from any web browser through the Laravel debug interface. It’s impossible for us to determine when debug mode was enabled, so we don’t know how long the data was at risk… The potential consequences of such an exposure are quite serious; Trump’s campaign website is used to solicit donations, after all. Attackers could have intercepted correspondence with Trump supporters or phish campaign contributors, among other crimes… To be clear, this is not a breach of user data; no user records were leaked. This exposure instead gave hackers an attack vector to potentially hijack mail servers, explore source code structure, find weak points, re-use passwords on other systems, and mount other types of attacks.”
All parties affected by the website vulnerability, including the Trump campaign, were notified by Comparitech on October 11. The Trump campaign fixed the issue on October 16. It is unknown why a relatively simple issue to fix took so long to remedy considering the resources at the president’s disposal. Furthermore, it is rather embarrassing for all web developers, especially those on the Trump payroll, who left the PHP interface in debug mode. This is rudimentary knowledge and it should never have occurred in the first place.
Then again, most mistakes that lead to security issues tend to be rather avoidable ones.
Featured image: Flickr/ Gage Skidmore