R154. Eliminate backdoors

Requirement

The source code of a system must not perform functions other than those specified in the functional requirements (backdoors).

Description

Sometimes, functionalities other than the ones for which a system was designed are included, during development, to aid the development and testing processes. These functions often represent backdoors because they leave exposed ports or help in bypassing the authentication and/or authorization mechanisms. Therefore, they should not be part of the production environment, as they could become serious security vulnerabilities.

References

  1. CAPEC-113: API Manipulation. An adversary manipulates the use or processing of an Application Programming Interface (API) resulting in an adverse impact upon the security of the system implementing the API. This can allow the adversary to execute functionality not intended by the API implementation, possibly compromising the system which integrates the API.

  2. CAPEC-115: Authentication Bypass. An attacker gains access to application, service, or device with the privileges of an authorized or privileged user by evading or circumventing an authentication mechanism. The attacker is therefore able to access protected data without authentication ever having taken place.

  3. CAPEC-438: Modification During Manufacture. An attacker modifies a technology, product, or component during a stage in its manufacture for the purpose of carrying out an attack against some entity involved in the supply chain lifecycle.

  4. CAPEC-554: Functionality Bypass. An adversary attacks a system by bypassing some or all functionality intended to protect it.

  5. CWE-510: Trapdoor. A trapdoor is a hidden piece of code that responds to a special input, allowing its user access to resources without passing through the normal security enforcement mechanism.

  6. CWE-1269: Product Released in Non-Release Configuration. The product released to market is released in pre-production or manufacturing configuration.

  7. OWASP-ASVS v4.0.1 Appendix C: Internet of Things Verification Requirements.(C.13) Verify all code including third-party binaries, libraries, frameworks are reviewed for hardcoded credentials (backdoors).

  8. OWASP-ASVS v4.0.1 V10.2 Malicious Code Search.(10.2.3) Verify that the application source code and third party libraries do not contain backdoors, such as hard-coded or additional undocumented accounts or keys, code obfuscation, undocumented binary blobs, rootkits, or anti-debugging, insecure debugging features, or otherwise out of date, insecure, or hidden functionality that could be used maliciously if discovered.

  9. PCI DSS v3.2.1 - Requirement 6.3.1 Remove development, test and/or custom application accounts, user IDs, and passwords before applications become active or are released to customers.

  10. PCI DSS v3.2.1 - Requirement 6.4.4 Processes must include removal of test data and accounts from system components before the system becomes active / goes into production.

Copyright © 2020 Fluid Attacks, We hack your software. All rights reserved.

Service status - Terms of Use - Privacy Policy - Cookie Policy