Open in TheBrain

PCI DSS 4.0 — 6.4.2 PCI DSS Requirement 6.4.2


source: false

type: canonical-control-reference

standard: PCI DSS

document_version: "4.0"

publication_date: "2022-03"

requirement_id: "6.4.2"

family_id: "6"

family: "Develop and Maintain Secure Systems and Software"

title: "PCI DSS Requirement 6.4.2"

status: historical-edition

assessment_criterion: true

reference_basis: "user-supplied published requirements and testing procedures"

normative_text_included: true

testing_procedures_included: true

guidance_included: true

updated: 2026-09-13

source_sha256: "420d70f31a8825769538b99105b953f27b772e9180a6e2bd36450671c4eb43fc"

source_pdf_pages: [144]

source_printed_pages: "140"

authoritative_sources:

- "PCI DSS v4.0 — March 2022"


6.4.2 PCI DSS Requirement

Edition and assessment boundary

This card reproduces the March 2022 PCI DSS v4.0 text. Version 4.0 is retired; dates and future-dated applicability language are preserved as published, not restated as current guidance. Testing procedures are the published assessment criteria. Guidance explains the requirement and is not an additional standalone requirement. See Source and Version Guide.

Requirement Context

6.4 Public-facing web applications are protected against attacks.

Defined Approach Requirements

6.4.2 For public-facing web applications, an automated technical solution is deployed that continually detects and prevents web-based attacks, with at least the following:

Defined Approach Testing Procedures

6.4.2 For public-facing web applications, examine the system configuration settings and audit logs, and interview responsible personnel to verify that an automated technical solution that detects and prevents web-based attacks is in place in accordance with all elements specified in this requirement.

Customized Approach Objective

Public-facing web applications are protected in real time against malicious attacks.

Applicability Notes

This new requirement will replace Requirement 6.4.1 once its effective date is reached.

This requirement is a best practice until 31 March 2025, after which it will be required and must be fully considered during a PCI DSS assessment.

Guidance

Purpose

Public-facing web applications are primary targets for attackers, and poorly coded web applications provide an easy path for attackers to gain access to sensitive data and systems.

Good Practice

When using automated technical solutions, it is important to include processes that facilitate timely responses to alerts generated by the solutions so that any detected attacks can be mitigated. Such solutions may also be used to automate mitigation, for example rate-limiting controls, which can be implemented to mitigate against brute-force attacks and enumeration attacks.

Examples

A web application firewall (WAF), which can be either on-premise or cloud-based, installed in front of public-facing web applications to check all traffic, is an example of an automated technical solution that detects and prevents web-based attacks (for example, the attacks included in Requirement 6.2.4). WAFs filter and block non-essential traffic at the application layer. A properly configured WAF helps to prevent application-layer attacks on applications that are improperly coded or configured.

Referenced Publications