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

    Access Control: MQ

    ABSTRACT

    允許用戶輸入控制 MQ 對象描述符的字段,可以讓攻擊者有機會訪問或修改原本受保護的 MQ 資源。

    EXPLANATION

    如果攻擊者能夠提供被應用程序用于確定在打開 MQ 對象時執行哪種類型授權檢查的值,他們在嘗試打開原本無法訪問的對象時有可能通過所有 access control 檢查。



    示例:下列 COBOL 代碼片段從終端中讀取值,并使用它們來控制 MQ 對象描述符的 MQOD-ALTERNATEUSERIDMQOD-ALTERNATESECURITYID 字段。


    ...
    10 MQOD.
    ** Alternate user identifier
    15 MQOD-ALTERNATEUSERID PIC X(12).
    ** Alternate security identifier
    15 MQOD-ALTERNATESECURITYID PIC X(40).
    ...
    ...
    ACCEPT MQOD-ALTERNATEUSERID.
    ACCEPT MQOD-ALTERNATESECURITYID.
    CALL 'MQOPEN' USING HCONN, MQOD, OPTS, HOBJ, COMPOCODE REASON.
    ...


    在此示例中,攻擊者可以提供使其能夠在打開的 MQ 對象上通過 access control 檢查的值。

    總之,應禁止使用用戶提供的數據或通過其他途徑獲取不可信任的數據,以防止攻擊者控制某些敏感的數值。

    REFERENCES

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

    [2] Standards Mapping - OWASP Top 10 2007 - (OWASP 2007) A4 Insecure Direct Object Reference

    [3] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A4 Insecure Direct Object References

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

    [5] Standards Mapping - Security Technical Implementation Guide Version 3 - (STIG 3) APP3510 CAT I

    [6] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3510 CAT I

    [7] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 639

    [8] Standards Mapping - Web Application Security Consortium 24 + 2 - (WASC 24 + 2) Insufficient Authorization

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

    [10] Standards Mapping - Payment Card Industry Data Security Standard Version 1.2 - (PCI 1.2) Requirement 6.5.4

    [11] 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.dataflow.cobol.access_control_mq

    97av