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

    Privilege Management: Default Package Rights

    ABSTRACT

    沒有 AUTHID 子句的程序包在默認情況下使用 AUTHID DEFINER

    EXPLANATION

    PL/SQL 程序包可以是 AUTHID DEFINERAUTHID CURRENT_USER。具有定義程序權限的程序包中的函數和程序在定義該程序包的用戶的權限下執行。這樣可以在不向整個表或架構授予訪問權限的情況下更新并訪問指定數據。在具有調用程序的權限或 AUTHID CURRENT_USER 的程序包中,函數和程序會在調用它們的用戶的權限下執行。這樣不會允許用戶訪問其無法訪問的數據。如果未提供 AUTHID 子句,程序包會在默認情況下使用定義程序的權限。

    程序包通常由 SYS 或另一個具有較高權限的用戶定義,這樣可能會使盜取代碼的問題變得更加嚴重。

    REFERENCES

    [1] Standards Mapping - Security Technical Implementation Guide Version 3 - (STIG 3) APP3500 CAT II

    [2] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3500 CAT II

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

    [4] Steven Feuerstein Oracle PL/SQL Best Practices O'Reilly

    [5] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.5.7, Requirement 7.2

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


    Copyright 2013 Fortify Software - All rights reserved.
    (Generated from version 2013.1.1.0008 of the Fortify Secure Coding Rulepacks)
    desc.structural.sql.privilege_management_default_package_rights

    97av