<span id="7ztzv"></span>
<sub id="7ztzv"></sub>

<span id="7ztzv"></span><form id="7ztzv"></form>

<span id="7ztzv"></span>

        <address id="7ztzv"></address>

            Open Redirect

            ABSTRACT

            如果允許未驗證的輸入控制重定向機制所使用的 URL,可能會有利于攻擊者發動釣魚攻擊。

            EXPLANATION

            通過重定向,Web 應用程序能夠引導用戶訪問同一應用程序內的不同網頁或訪問外部站點。應用程序利用重定向來幫助進行站點導航,有時還跟蹤用戶退出站點的方式。當 Web 應用程序將客戶端重定向到攻擊者可以控制的任意 URL 時,就會發生 Open redirect 漏洞:

            攻擊者可能利用 Open redirect 漏洞誘騙用戶訪問某個可信賴站點的 URL,并將他們重定向到惡意站點。攻擊者通過對 URL 進行編碼,使最終用戶很難注意到重定向的惡意目標,即使將這一目標作為 URL 參數傳遞給可信賴的站點時也會發生這種情況。因此,Open redirect 常被作為釣魚手段的一種而濫用,攻擊者通過這種方式來獲取最終用戶的敏感數據。




            例 1:以下 VB 代碼會在用戶單擊該鏈接時,指示用戶瀏覽器打開從 dest 請求參數中解析的 URL。


            ...
            strDest = Request.Form('dest')
            HyperLink.NavigateTo strDest
            ...


            如果受害者收到一封電子郵件,指示該用戶打開 "http://www.trustedsite.com/ecommerce/redirect.asp?dest=www.wilyhacker.com" 鏈接,用戶有可能會打開該鏈接,因為他會認為這個鏈接將轉到可信賴的站點。然而,一旦用戶打開該鏈接,上面的代碼會將瀏覽器重定向至 "http://www.wilyhacker.com"。

            很多用戶都被告知,要始終監視通過電子郵件收到的 URL,以確保鏈接指向一個他們所熟知的可信賴站點。盡管如此,如果攻擊者對目標 URL 進行 16 進制編碼:
            "http://www.trustedsite.com/ecommerce/redirect.asp?dest=%77%69%6C%79%68%61%63%6B%65%72%2E%63%6F%6D"

            那么,即使再聰明的最終用戶也可能會被欺騙,打開該鏈接。

            REFERENCES

            [1] Standards Mapping - OWASP Top 10 2004 - (OWASP 2004) A1 Unvalidated Input

            [2] Standards Mapping - OWASP Top 10 2010 - (OWASP 2010) A10 Unvalidated Redirects and Forwards

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

            [4] Standards Mapping - Security Technical Implementation Guide Version 3.4 - (STIG 3.4) APP3510 CAT I, APP3600 CAT II

            [5] Standards Mapping - Web Application Security Consortium 24 + 2 - (WASC 24 + 2) Content Spoofing

            [6] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 601

            [7] Standards Mapping - SANS Top 25 2010 - (SANS 2010) Insecure Interaction - CWE ID 601

            [8] Standards Mapping - SANS Top 25 2011 - (SANS Top 25 2011) Insecure Interaction - CWE ID 601

            [9] Phishers use IRS tax refund as bait CNet News

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

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

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


            Copyright 2013 Fortify Software - All rights reserved.
            (Generated from version 2013.1.1.0008 of the Fortify Secure Coding Rulepacks)
            desc.dataflow.vb.open_redirect

            <span id="7ztzv"></span>
            <sub id="7ztzv"></sub>

            <span id="7ztzv"></span><form id="7ztzv"></form>

            <span id="7ztzv"></span>

                  <address id="7ztzv"></address>

                      亚洲欧美在线