Home / News / Article
Dark Reading · 6 min read

‘God Mode’ Flaws Could Wreak Border-Control Havoc

Attackers could have disrupted traveler entry into Nigeria, Ethiopia, Zambia, Sri Lanka, Fiji, and Ghana via several vulnerabilities in their online visa and immigration systems.

Imagine trying to enter a country you’ve always wanted to visit, only to find yourself not only denied entry but potentially arrested because you’ve mistakenly ended up on a list of known terrorists.

This is one of several scenarios that could have unfolded if attackers had exploited flaws that independent security researcher Eaton Zveare discovered in the online passport and border-control systems of several countries: Nigeria, Ethiopia, Fiji, Zambia, Sri Lanka, and Ghana.

Though specific to each system, the flaws generally allowed unauthorized access to millions of travelers’ sensitive visa and passport data — potentially including biometric information such as fingerprints — and, in some cases, even granted access to administrative functions that could be used to approve or deny entry into a country.

Specifically, Zveare discovered critical API vulnerabilities, including broken object-level authorization (BOLA), broken function-level authorization (BFLA), and missing authentication, in online systems these countries use to process visa applications and authorize travelers to enter.

Many of the systems were built by third-party contractors with varying levels of expertise, which likely contributed to the relatively simple and easily avoidable security gaps, Zveare tells Dark Reading. In Nigeria’s case, an over-reliance on AI to build the systems may also have introduced flaws into the code.

“I think they’ve gotten on the AI hype train, and they’ve kind of used it to build their border control a little bit,” he says.

Failure to Secure Critical Infrastructure

Taken together, the vulnerabilities — which should never exist in “the systems that are vital to national security” — highlight a broader failure to secure critical national infrastructure, potentially with significant consequences for people traveling to these countries, Zveare says.

“The tip of the iceberg is not only viewing all the people who ever applied for these visas and passports, but actually being able to approve or deny applications that are currently coming in,” he says, describing the potential for bad actors to exploit the flaws.

Zveare describes the level of access the flaws could provide as “God mode at the border” — also the title of a session he will lead at Black Hat Europe next month about his findings. By exploiting the vulnerabilities, attackers could effectively “have the master key to these countries and their borders,” potentially threatening the safety of both citizens and people entering the country. Zveare will disclose the details of the flaws during his session, which is scheduled for Dec. 10.

Bing Search Leads to “God Mode” Flaw Discovery

The discovery began almost by accident, when Zveare searched Microsoft Bing for the phrase “admin panel” about a year ago. One of the results led him to a private back-end portal belonging to Nigeria.

After investigating the portal, Zveare uncovered security flaws that gave him access to sensitive immigration systems. Intrigued by what he had found, he began looking for similar systems in other countries, focusing on online passport-control and visa platforms built using modern Web technologies such as Angular and React.

His search eventually led him to five more countries, where he discovered a range of vulnerabilities, including missing authentication and broken access controls — the kinds of common Web flaws that you often see but ones that “you just can’t have in critical systems like this,” Zveare tells Dark Reading.

In Nigeria alone, Zveare identified roughly a dozen vulnerabilities, while the other countries had several each. He went on to develop exploits to demonstrate how the flaws could allow an attacker not only to view sensitive personally identifiable information (PII) belonging to visa applicants, but also to access administrative functions that could determine whether someone was granted entry into a country.

The potential consequences extend well beyond disrupted travel plans and compromised personal information, Zveare says. One worst-case scenario would involve an attacker identifying a high-level executive or other person of interest who might be targeted for kidnapping or assassination, then accessing their travel itinerary, hotel information, and other details that could be used to track their movements.

“You would know exactly when they land, where they are staying, and how long they’re staying,” Zveare says. “I’m sure you can imagine what bad people could do with that info.”

Disclosure and Remediation

Because the systems were spread across multiple foreign countries, many of which rely on outside companies to build their online infrastructure, identifying the parties responsible for fixing the vulnerabilities proved trickier than a typical bug disclosure, Zveare says.

“So all these countries have their computer emergency response teams (CERTs),” he tells Dark Reading. “Unfortunately, a lot of them did not respond.”

One country whose response was particularly strong was also the one whose systems had the most problems: Nigeria, which moved quickly to resolve the vulnerabilities. Its response team had “a generally excellent response,” Zveare says.

Indeed, Nigeria is emerging as “the big tech hub of Africa,” and he expected its authorities to be relatively on top of these issues, he says.

When a country’s CERT failed to respond, Zveare had to dig deeper to identify the independent contractor that had built the system and contact the company directly. In many cases, this proved to be the quickest route to remediation.

Overall, response times ranged from a few days to more than six months. By now, however, “everything is pretty much fixed,” he says.

Crucial Contractor Vetting

While Zveare says all the contractors he contacted were helpful and responsive in addressing the vulnerabilities, their security practices may have contributed to the problems in the first place.

“[The contractors] might have come in at the lowest bid, and that’s what the country went with,” Zveare says. “I feel as though, with how simple some of these flaws were, they might not have the most sophisticated security reviews.”

One quick test Zveare uses when assessing a Web API is to look for an administrative endpoint that retrieves a list of all users. “So I’ll uncover that, and I’ll just copy that endpoint into my browser and see what happens.”

In the case of the vulnerable border-control systems, “a lot of the time, they would just return the entire users list because they don’t check for the authentication token,” he says.

The problems went beyond improper token handling, however. In some cases, authentication tokens were missing altogether, meaning sensitive endpoints could be accessed without the required authentication.

This lack of fundamental Web security points to a broader failure of oversight by national authorities when selecting the contractors entrusted with building and maintaining their systems, Zveare says. For infrastructure as sensitive as border control systems, that lack of scrutiny is not only unacceptable but potentially dangerous.

“You have to properly vet these contractors because you’re giving your nation’s security to them,” Zveare says. “And if they don’t know basic Web security, you’re going to have a bad time.”

Black Hat Europe

Black Hat Europe

Dec 7, 2026 TO Dec 10, 2026

|

Excel London, United Kingdom

Black Hat Europe returns to the Excel in London with a four-day program this December. The event will open with two-and four-day options of specialized cybersecurity Trainings, with courses of all skill levels. The two-day main conference boasts Briefings featuring the latest in research, developments, and trends in cybersecurity, along with dozens of open-source tool demos in Arsenal, a robust Business Hall, networking, and social events, and much more. Use the code: DARKREADING and get 10% off your pass.

Read more about:

Black Hat News

Originally published on Dark Reading