PCI DSS 4.0 — 6.2.4 PCI DSS Requirement 6.2.4
source: false
type: canonical-control-reference
standard: PCI DSS
document_version: "4.0"
publication_date: "2022-03"
requirement_id: "6.2.4"
family_id: "6"
family: "Develop and Maintain Secure Systems and Software"
title: "PCI DSS Requirement 6.2.4"
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: [135, 136]
source_printed_pages: "131, 132"
authoritative_sources:
6.2.4 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.2 Bespoke and custom software are developed securely.
Defined Approach Requirements
6.2.4 Software engineering techniques or other methods are defined and in use by software development personnel to prevent or mitigate common software attacks and related vulnerabilities in bespoke and custom software, including but not limited to the following:
- Injection attacks, including SQL, LDAP, XPath, or other command, parameter, object, fault, or injection-type flaws.
- Attacks on data and data structures, including attempts to manipulate buffers, pointers, input data, or shared data.
- Attacks on cryptography usage, including attempts to exploit weak, insecure, or inappropriate cryptographic implementations, algorithms, cipher suites, or modes of operation.
- Attacks on business logic, including attempts to abuse or bypass application features and functionalities through the manipulation of APIs, communication protocols and channels, client-side functionality, or other system/application functions and resources. This includes cross-site scripting (XSS) and cross-site request forgery (CSRF).
- Attacks on access control mechanisms, including attempts to bypass or abuse identification, authentication, or authorization mechanisms, or attempts to exploit weaknesses in the implementation of such mechanisms.
- Attacks via any “high-risk” vulnerabilities identified in the vulnerability identification process, as defined in Requirement
6.3.1.
Defined Approach Testing Procedures
6.2.4 Examine documented procedures and interview responsible software development personnel to verify that software engineering techniques or other methods are defined and in use by developers of bespoke and custom software to prevent or mitigate all common software attacks as specified in this requirement.
Customized Approach Objective
Bespoke and custom software cannot be exploited via common attacks and related vulnerabilities.
Applicability Notes
This applies to all software developed for or by the entity for the entity’s own use. This includes both bespoke and custom software. This does not apply to third-party software.
Guidance
Purpose
Detecting or preventing common errors that result in vulnerable code as early as possible in the software development process lowers the probability that such errors make it through to production and lead to a compromise. Having formal engineering techniques and tools embedded in the development process will catch these errors early. This philosophy is sometimes called “shifting security left.”
Good Practice
For both bespoke and custom software, the entity must ensure that code is developed focusing on the prevention or mitigation of common software attacks, including:
- Attempts to exploit common coding vulnerabilities (bugs).
- Attempts to exploit software design flaws.
- Attempts to exploit implementation/configuration flaws.
- Enumeration attacks – automated attacks that are actively exploited in payments and abuse identification, authentication, or authorization mechanisms. See the PCI Perspectives blog article “Beware of Account Testing Attacks.”
Researching and documenting software engineering techniques or other methods helps to define how software developers prevent or mitigate various software attacks by features or countermeasures they build into software. This might include identification/authentication mechanisms, access control, input validation routines, etc. Developers should be familiar with different types of vulnerabilities and potential attacks and use measures to avoid potential attack vectors when developing code.
Examples
Techniques include automated processes and practices that scan code early in the development cycle when code is checked in to confirm the vulnerabilities are not present.
Referenced Publications
- PCI Security Standards Council, Payment Card Industry Data Security Standard: Requirements and Testing Procedures, v4.0, March 2022, printed page(s) 131, 132 (PDF page(s) 135, 136): PDF page 135 (section: page=135), PDF page 136 (section: page=136).
- 6 Develop and Maintain Secure Systems and Software — scope and overview.