<dd id="sga4y"><optgroup id="sga4y"></optgroup></dd>
<nav id="sga4y"><code id="sga4y"></code></nav>
  • <optgroup id="sga4y"></optgroup>

    Android Bad Practices: Missing Broadcaster Permission

    ABSTRACT

    程序會在未指定廣播者權限的情況下注冊接收者。

    EXPLANATION

    在未指定廣播者權限的情況下注冊的接收者將接收來自任何廣播者的消息。如果這些消息包含惡意數據或來自惡意廣播者,可能會對應用程序造成危害。

    例 1:以下代碼會在未指定廣播者權限的情況下注冊接收者。


    ...
    context.registerReceiver(broadcastReceiver, intentFilter);
    ...

    REFERENCES

    [1] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A2 Broken Access Control

    [2] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A6 Security Misconfiguration

    [3] Standards Mapping - FIPS200 - (FISMA) AC

    [4] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 265

    [5] Jesse Burns Developing Secure Mobile Applications for Android

    [6] Standards Mapping - SANS Top 25 2009 - (SANS 2009) Improper Access Control - CWE ID 285

    [7] Standards Mapping - Payment Card Industry Data Security Standard Version 1.1 - (PCI 1.1) Requirement 6.5.10

    [8] Standards Mapping - Payment Card Industry Data Security Standard Version 2.0 - (PCI 2.0) Requirement 6.5.5

    [9] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.5.6, Requirement 7.1.1

    [10] William Enck, Machigar Ongtang, and Patrick McDaniel Understanding Android Security

    [11] William Enck and Patrick McDaniel Understanding Android's Security Framework

    [12] Using Permissions


    Copyright 2013 Fortify Software - All rights reserved.
    (Generated from version 2013.1.1.0008 of the Fortify Secure Coding Rulepacks)
    desc.semantic.java.android_bad_practices_missing_broadcaster_permission

    97av