ID card printers at the end of support: the risk to your company’s security

Share

When the application crashes: why server credentials and native encryption are no longer enough

Yeah If an attacker manages to execute code on your application’s server, they inherit everything that application can see: files, database credentials, and often, encryption keys. Data-oriented defense in depth breaks this domino effect with two controls: keys stored off-server and data access control independent of the operating system and database administrator (DBA).

What PHP2Shell gave us this week

On October 20, details of two critical remote code execution (RCE) vulnerabilities in PHP, CVE-2026-109618 and CVE-2026-109619, were leaked online before their coordinated disclosure and before patches were available. According to Wiz, which discovered them, they affected PHP versions 5.4 through 8. The following day, PHP released patched versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35, and watchTowr reported active exploitation.

The scale is enormous: Palo Alto Networks’ Unit 42 identified more than 22.6 million potentially vulnerable exposed instances. And the PHP team itself was clear: there are no complete mitigations, and upgrading is the only safe option.

Patching is urgent. But the question that should be going to the risk committee is another: what happened to our data during the hours the app was exposed?

Why the patch almost always arrives late

PHP2Shell is not an isolated case. Verizon’s DBIR 2026 report shows that vulnerability exploitation now accounts for 31% of initial breach accesses, surpassing credential abuse for the first time. At the same time, only 26% of critical vulnerabilities in CISA’s KEV catalog were fully remediated by 2025, and the median remediation time increased from 32 to 43 days. Meanwhile, massive exploitation campaigns begin within hours of public test code being released.

The cost of that window is high. In Latin America, a data breach costs an average of $4.65 million and compromises about 40,300 records per incident, according to IBM. Globally, the average reached a record 4.99 million, and the cycle to identify and contain a gap rose to 247 days.

What does an attacker inherit when they compromise the application?

In my experience with banks and financial institutions in the region, the pattern is consistent: the application stores the database connection string in a configuration file, and that account has broad permissions. Anyone running code as the application can query the database as the application.

Here’s the blind spot of the engine’s native encryption ( Transparent Data Encryption) .TDE protects stolen disks, backups, and files, but decrypts transparently for any authenticated session. And if the keys reside on the same server, the attacker can also decrypt the files offline.

Principle 1: Separate the custody of the keys

The database stores the encrypted data; the keys reside on a specialized external system, such as a hardware security module (HSM) or a key and secrets management platform. This enforces separation of duties: the server administrator does not manage the keys.

The benefit goes beyond confidentiality. In the event of an incident, your team can revoke or suspend access to the keys and render the data unreadable in minutes, without shutting down the entire operation.

Principle 2: Data access control, independent of the server and the DBA

The second control defines who can view plaintext data using its own policies, not inherited from the operating system. With attribute-based access control (ABAC), each read operation is evaluated by authorized process, user, source, and context. Thus, even if someone obtains privileges of root or sysadmin will only see encrypted data.

For the most sensitive fields, such as card or ID numbers, tokenization adds another layer: the application works with tokens and the actual data is never exposed within it.

Three questions for your next committee

  • Where do the keys that protect our critical databases reside today?
  • Can an administrator with maximum privileges read sensitive data in plain text?
  • How long would it take to revoke data access if an application is compromised?

We cannot prevent all software vulnerabilities; however, we can control their impact. If your architecture keeps data encrypted and protected even with a compromised server, a potentially serious breach becomes a contained incident.

The golden rule: never give the data keys to the person who manages the server.

You may be interested in

How to choose the best KYC software for omnichannel payments.

ID card printers at the end of support: the risk to your company’s security.

ID card printers at the end of support: the risk to your company’s security.

Our intelligent identity identification, payment and data protection solutions will evolve the security of your organization.

Let's talk: