<pre id="vvttv"><mark id="vvttv"><progress id="vvttv"></progress></mark></pre>
    <pre id="vvttv"></pre>

      <p id="vvttv"></p>

          <p id="vvttv"></p>

                <p id="vvttv"></p>

                <pre id="vvttv"><cite id="vvttv"><progress id="vvttv"></progress></cite></pre>

                  <output id="vvttv"><dfn id="vvttv"><th id="vvttv"></th></dfn></output>

                    <p id="vvttv"></p>

                    Denial of Service

                    ABSTRACT

                    攻擊者可以造成程序崩潰或使合法用戶無法進行使用。

                    EXPLANATION

                    攻擊者可能通過對應用程序發送大量請求,而使它拒絕對合法用戶的服務,但是這種攻擊形式經常會在網絡層就被排除掉了。更加嚴重的是那些只需要使用少量請求就可以使得攻擊者讓應用程序過載的 bug。這種 bug 允許攻擊者去指定請求使用系統資源的數量,或者是持續使用這些系統資源的時間。

                    例 1:以下代碼允許用戶指定要使用的 file system 大小。通過指定一個較大的數字,攻擊者可以耗盡 file system 資源。


                    var fsync = requestFileSystemSync(0, userInput);


                    例 2:下列代碼寫入了文件。由于在用戶代理認為該文件關閉之前會持續執行寫入和重新寫入操作,因此磁盤配額、IO 帶寬和可能需要分析文件內容的進程可能會受影響。


                    function oninit(fs) {
                    fs.root.getFile('applog.txt', {create:false}, function(fileEntry) {
                    fileEntry.createWriter(function(fileWriter) {
                    fileWriter.seek(fileWriter.length);
                    var bb = new BlobBuilder();
                    bb.append('Appending to a file');
                    fileWriter.write(bb.getBlob('text/plain'));
                    }, errorHandler);
                    }, errorHandler);
                    }

                    window.requestFileSystem(window.TEMPORARY, 1024*1024, oninit, errorHandler);

                    REFERENCES

                    [1] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A9 Application Denial of Service

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

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

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

                    [5] Standards Mapping - Web Application Security Consortium 24 + 2 - (WASC 24 + 2) Denial of Service

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


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

                      <pre id="vvttv"><mark id="vvttv"><progress id="vvttv"></progress></mark></pre>
                      <pre id="vvttv"></pre>

                        <p id="vvttv"></p>

                            <p id="vvttv"></p>

                                  <p id="vvttv"></p>

                                  <pre id="vvttv"><cite id="vvttv"><progress id="vvttv"></progress></cite></pre>

                                    <output id="vvttv"><dfn id="vvttv"><th id="vvttv"></th></dfn></output>

                                      <p id="vvttv"></p>

                                      这里只有精品视频