2021. 2. 19. 09:51ㆍ젬스it
J2EE Bad Practices: Leftover Debug Code
Java/JSP
Abstract
Debug code can create unintended entry points in a deployed web application.
Explanation
A common development practice is to add "back door" code specifically designed for debugging or testing purposes that is not intended to be shipped or deployed with the application. When this sort of debug code is accidentally left in the application, the application is open to unintended modes of interaction. These back door entry points create security risks because they are not considered during design or testing and fall outside of the expected operating conditions of the application.
The most common example of forgotten debug code is a main() method appearing in a web application. Although this is an acceptable practice during product development, classes that are part of a production J2EE application should not define a main().
References
[1] ENV06-J. Production code must not contain debugging entry points CERT
[2] Standards Mapping - Common Weakness Enumeration CWE ID 489
[3] Standards Mapping - General Data Protection Regulation (GDPR) Indirect Access to Sensitive Data
[4] Standards Mapping - OWASP Top 10 2007 A6 Information Leakage and Improper Error Handling
[5] Standards Mapping - OWASP Application Security Verification Standard 4.0 14.3.2 Unintended Security Disclosure Requirements, 14.2.2 Dependency
[6] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 Requirement 6.5.6
[7] Standards Mapping - Payment Card Industry Data Security Standard Version 2.0 Requirement 6.5.5
[8] Standards Mapping - Payment Card Industry Data Security Standard Version 3.0 Requirement 6.5.5
[9] Standards Mapping - Payment Card Industry Data Security Standard Version 3.1 Requirement 6.5.5
[10] Standards Mapping - Payment Card Industry Data Security Standard Version 3.2 Requirement 6.5.5
[11] Standards Mapping - Payment Card Industry Data Security Standard Version 3.2.1 Requirement 6.5.5
[12] Standards Mapping - Payment Card Industry Software Security Framework 1.0 Control Objective 3.6 - Sensitive Data Retention
[13] Standards Mapping - Security Technical Implementation Guide Version 3.1 APP3620 CAT II
[14] Standards Mapping - Security Technical Implementation Guide Version 3.4 APP3620 CAT II
[15] Standards Mapping - Security Technical Implementation Guide Version 3.5 APP3620 CAT II
[16] Standards Mapping - Security Technical Implementation Guide Version 3.6 APP3620 CAT II
[17] Standards Mapping - Security Technical Implementation Guide Version 3.7 APP3620 CAT II
[18] Standards Mapping - Security Technical Implementation Guide Version 3.9 APP3620 CAT II
[19] Standards Mapping - Security Technical Implementation Guide Version 3.10 APP3620 CAT II
'젬스it' 카테고리의 다른 글
테이블정의서 추출쿼리 (0) | 2021.06.24 |
---|---|
윈도우서버 com+ dll 등록 (0) | 2021.06.08 |
Orange 단축키 오렌지단축키 (0) | 2021.04.14 |
오라클접속 오렌지 단축키 (0) | 2021.03.25 |
테이블을 다시 만들어야 하는 변경 내용 저장 사용 안 함 (0) | 2021.02.23 |