Skip to main content
← All controls
AC-3 / AC-6 / AU-9 / A.9.2.1 / A.9.4.1 / CIS-5.4 / CIS-6.7 NIST SP 800-53 Rev 5

Database access controls

Demonstrate that database access is restricted to authorized users and service accounts through enforced authentication, role-based permissions aligned with job functions, and continuous monitoring of privileged activities.

Description

What this control does

Database access controls enforce authentication, authorization, and accountability mechanisms that restrict who can connect to databases, which objects they can manipulate, and what operations they can perform. These controls typically include role-based access assignments, least-privilege account configurations, segregation of administrative and application accounts, and audit logging of privileged actions. Strong database access controls prevent unauthorized data disclosure, manipulation, and destruction by limiting attack surfaces and enforcing defense-in-depth at the data layer.

Control objective

What auditing this proves

Demonstrate that database access is restricted to authorized users and service accounts through enforced authentication, role-based permissions aligned with job functions, and continuous monitoring of privileged activities.

Associated risks

Risks this control addresses

  • Unauthorized users or compromised application accounts gaining direct access to sensitive data bypassing application-layer controls
  • Privilege escalation through overly permissive default roles or failure to remove dormant accounts with elevated database privileges
  • Lateral movement by attackers using shared or hardcoded database credentials discovered in application code or configuration files
  • Insider threats exploiting excessive permissions to exfiltrate, modify, or delete production data without detection
  • Unaudited privileged operations such as schema changes, bulk deletions, or permission grants obscuring malicious or accidental data loss
  • Service account compromise leading to full database takeover due to DBA-level privileges granted to application service principals
  • Compliance violations from inability to prove who accessed regulated data (PII, PHI, PCI) and when access occurred

Live threat patterns this control mitigates:

MEDIUM Alleged data breach of MHz Group A forum post claims that MHz Group, a UAE-based management consulting and software development company, suffered a data… MEDIUM Alleged data breach of Egyptian Maritime Transport & Logistics Sector The poster claims to have made available a leaked database from Egypts Maritime Transport & Logistics Sector, allegedly… MEDIUM Alleged data breach of automotive dealership group (M Group) A poster on UpDap claims to have leaked data from M Group, a multinational conglomerate and major General… MEDIUM Alleged leak of Israel Government documents A post claims to share over 200,000 documents (45GB) allegedly leaked from the Knesset of Israel and other… MEDIUM Alleged data breach of Iraq Popular Mobilization Forces (PMF) Officials The poster claims to have leaked a database of officials from Iraqs Popular Mobilization Forces (PMF) dating from… MEDIUM Alleged data breach of IMAJBET Turkish online casino A poster claims to have leaked a database of 42,000 users from IMAJBET, a Turkish online casino, including… MEDIUM Alleged data breach of Ashur University A threat actor leaked a database allegedly belonging to Ashur University (au.edu.iq) in Iraq, attributed to Anka Team,… MEDIUM Alleged sharing of collected Telegram member lists The poster claims to have collected Telegram members from groups and channels related to crypto, casino, freelance, NFT,… MEDIUM Alleged data breach of Privatization Holding Company (PHC.com.jo) The poster claims to have made available stolen source code from PHC.com.jo, a Jordanian energy and industry company,… MEDIUM Alleged data breach of ohn-law.com Israeli legal-case website MEDIUM Alleged data breach of thezebra.co.il MEDIUM Alleged sharing of Kuwait drivers license template/document MEDIUM Request for Telegram database (ID to phone number) A forum member requested a Telegram database mapping user IDs to phone numbers. No sale or leak has… MEDIUM Alleged data breach and leak of Qiam Real Estate (Saudi Arabia) The threat actor claims to have hacked qiam.com.sa, a Saudi Arabian real estate website, extracting its databases and… MEDIUM Alleged data breach and leak of Jawaharlal Nehru Technological University-affiliated… The actor claims to have hacked tahoor.ae, a college affiliated with Jawaharlal Nehru Technological University, extracting databases and… MEDIUM Alleged leak of Iraqi Ewane account data A forum post shares a Mega.nz link claiming to leak account data associated with Ewane in Iraq, gated… MEDIUM Alleged leak of EPS Tech R&D documents linked to Israeli Air Force A threat actor known as Handala claims to have leaked top-secret design documents for electronic equipment used by… MEDIUM Alleged data breach of Axcera.io A forum post claims Axcera, a fintech infrastructure provider operating in the UAE and Cyprus, was hacked by… MEDIUM Alleged leak of shib bet iran deek officers The threat actor claims to have leaked a dataset associated with Shin Bet, specifically targeting personnel linked to… MEDIUM Alleged data breach of Al-Ayen University (alayen.edu.iq) A threat actor leaked an alleged database from alayen.edu.iq, an Iraqi university, containing records of doctors/staff including names,… MEDIUM Alleged source code leak of Al-Zaytoonah University of Jordan A threat actor is freely distributing what is claimed to be the source code of Al-Zaytoonah University of… MEDIUM Alleged data breach of Kocaeli Metropolitan Municipality employee database MEDIUM Alleged data breach of elexbet.com Turkish betting platform MEDIUM Alleged data breach of Turkish Freemasons Governance System MEDIUM Dallah Hospital possibly compromised by actor/group oaaaoxxz on May 31, 2026

Testing procedure

How an auditor verifies this control

  1. Obtain a complete inventory of database instances in scope, including production, non-production, cloud-hosted, and on-premises systems.
  2. Export current user and service account lists from each database system, including role assignments, group memberships, and privilege grants.
  3. Review authentication configuration to verify that strong authentication methods (password policies, certificate-based, or MFA) are enforced and default accounts are disabled or secured.
  4. Select a risk-based sample of user accounts and validate that assigned permissions align with documented job responsibilities and adhere to least-privilege principles.
  5. Examine database audit logging configurations to confirm that authentication attempts, privilege escalations, DDL operations, and sensitive data access are captured.
  6. Review access request and approval records for a sample period to verify that database access follows formal provisioning workflows with management authorization.
  7. Test segregation of duties by confirming that application service accounts cannot perform administrative functions and that developers lack production database write access.
  8. Validate that access reviews are conducted at defined intervals and that findings result in timely revocation of unnecessary privileges.
Evidence required Collect database user and role exports showing current permissions, authentication configuration screenshots or policy files demonstrating enforced controls, and audit log samples covering authentication events and privileged operations. Obtain access request tickets with approvals, periodic access review reports with remediation evidence, and documented role definitions mapping database privileges to business functions.
Pass criteria All database user accounts have documented business justification, permissions align with least-privilege principles, authentication mechanisms meet organizational standards, privileged actions are logged and monitored, and periodic access reviews demonstrate active governance with timely revocation of unnecessary access.