[UNIX] DansGuardian Hex Encoding URL Banned Extension Filter Bypass Vulnerability

From: SecuriTeam (support_at_securiteam.com)
Date: 08/01/04

  • Next message: SecuriTeam: "[UNIX] lostBook Javascript Injection And Cross Site Scripting Vulnerabilities"
    To: list@securiteam.com
    Date: 1 Aug 2004 15:53:20 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      DansGuardian Hex Encoding URL Banned Extension Filter Bypass Vulnerability
    ------------------------------------------------------------------------

    SUMMARY

     <http://dansguardian.org> DansGuardian is a web Open Source content
    filter available for various Unix based operating systems, including
    Linux. It filters the actual content of pages based on many methods
    including phrase matching, PICS filtering and URL filtering.

    DansGuardian allows malicious users to bypass the extension filter rules
    when processing URLs which contain an hex encoded filename.

    DETAILS

    Vulnerable Systems:
     * DansGuardian version 2.8 and prior

    Immune Systems:
     * DansGuardian version 2.8.0.1

    DansGuardian employs a content filter that is used to filter out certain
    unwanted type of files among other content. Using a hex encoded filename,
    a malicious user is able to fool the content filter, thus bypassing it
    completely. An example of such a case can be seen below:
    http://server/file.%65%78%65 or http://server/file%2eexe

    Under some installations, this vulnerability may violate the security
    policy, or allow users to inadvertantly access malicious web content.

    Patch Availability:
    There is already a newer version available which addresses this
    vulnerability. Users are encouraged to upgrade to version 2.8.0.1. As a
    temporary workaround, the following patch can be used:
    --- FOptionContainer.cpp.diff ---
    806d805
    < url.hexDecode();
    ---------------------------------

    Disclosure Timeline
    28/07/2004 Notification to the main developer (author at dansguardian dot
    org)
    28/07/2004 DansGuardian 2.8.0.1 released
    29/07/2004 Public Security Advisory.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:ruben@udea.edu.co> Rub n
    Molina.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[UNIX] lostBook Javascript Injection And Cross Site Scripting Vulnerabilities"

    Relevant Pages

    • [NT] Vulnerability in Microsoft Internet Security and Acceleration Server 2000 H.323 Filter Could Al
      ... Get your security news from a reliable source. ... A security vulnerability exists in the H.323 filter for Microsoft Internet ... Security and Acceleration Server 2000 that could allow an attacker to ... overflow a buffer in the Microsoft Firewall Service in Microsoft Internet ...
      (Securiteam)
    • Re: linux-next: add utrace tree
      ... issue of "I'd much rather have explicit interfaces than have generic hooks ... generic filter engine out of the current ftrace filter engine (which is really ... controlled via ASCII space filter expressions [broken down into ... tasks so that security restrictions percolate down automatically. ...
      (Linux-Kernel)
    • [NT] Internet Explorer 8.0 Beta 2 Anti-XSS Filter Vulnerabilities
      ... Get your security news from a reliable source. ... Internet Explorer 8.0 Beta 2 Anti-XSS Filter Vulnerabilities ... to filter injection into HTTP headers, which will drive hackers to focus ... CRLF Injection is also XSS type 1 and is not mitigated by ...
      (Securiteam)
    • RE: How to restrict users to see data in a mutiuser environment?
      ... interested setting up workgroup security. ... ' Gets the userid of the current user. ... Dim Length As Long ... which you open the form you want to filter. ...
      (microsoft.public.access.modulesdaovba)
    • Re: Do I really need a FW besides WXP
      ... Controlling aleady running programs what ... > Since XP Home doesn't really have good security like XP Pro ... If the "router" is running a packet filter and maybe NAT, ... data security to filter away to hide something. ...
      (comp.security.firewalls)