android:debuggable
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
OWASP 카테고리: MASVS-PLATFORM: 플랫폼 상호작용
개요
android:debuggable
속성은 애플리케이션을 디버그할 수 있는지를 설정합니다. 이 속성은 애플리케이션 전체에 대해 설정되며 개별 구성요소로 재정의할 수 없습니다. 이 속성은 기본적으로 false
로 설정됩니다.
애플리케이션이 자체적으로 디버그할 수 있도록 허용하는 것은 취약점이 아니지만 관리 기능에 대한 의도하지 않거나 승인되지 않은 액세스를 통해 애플리케이션이 더 큰 위험에 노출됩니다. 공격자는 이를 통해 애플리케이션과 애플리케이션에서 사용하는 리소스에 의도한 것보다 더 많이 액세스할 수 있습니다.
영향
android:debuggable
플래그를 true로 설정하면 공격자가 애플리케이션을 디버그할 수 있으므로 안전하게 유지해야 하는 애플리케이션 부분에 더 쉽게 액세스할 수 있습니다.
완화 조치
애플리케이션을 출시할 때 항상 android:debuggable
플래그를 false
로 설정해야 합니다.
맞춤 콘텐츠
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2023-12-08(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2023-12-08(UTC)"],[],[],null,["# android:debuggable\n\n\u003cbr /\u003e\n\n**OWASP category:** [MASVS-PLATFORM: Platform Interaction](https://mas.owasp.org/MASVS/09-MASVS-PLATFORM)\n\nOverview\n--------\n\nThe `android:debuggable` [attribute](/guide/topics/manifest/application-element) sets whether the application is\ndebuggable. It is set for the application as a whole and can't be overridden by\nindividual components. The attribute is set to `false` by default.\n\nAllowing the application to be debuggable in itself is not a vulnerability, but\nit does expose the application to greater risk through unintended and\nunauthorized access to administrative functions. This can allow attackers more\naccess to the application and resources used by the application than intended.\n\nImpact\n------\n\nSetting the android:debuggable flag to true enables an attacker to debug the\napplication, making it easier for them to gain access to parts of the\napplication that should be kept secure.\n\nMitigations\n-----------\n\nAlways make sure to set the `android:debuggable` flag to `false` when shipping\nyour application."]]