ChurchInfo Multiple Vulnerabilities

thegreatone2176_at_yahoo.com
Date: 08/01/05

  • Next message: Trustix Security Advisor: "TSLSA-2005-0038 - multi"
    Date: 1 Aug 2005 15:04:52 -0000
    To: bugtraq@securityfocus.com
    
    
    ('binary' encoding is not supported, stored as-is) ----------------------------------
    ChurchInfo Multiple Vulnerabilities
    ----------------------------------

    ChurchInfo is affected by mutliple path disclosures and sql injections.

    Vulnerabilties
    --------------

    1) The "PersonID" parameter on the following pages are vulnerable to sql injection and path disclosure.

    PersonView.php
    MemberRoleChange.php
    PropertyAssign.php
    WhyCameEditor.php
    GroupPropsEditor.php
    Reports/PDFLabel.php
    UserDelete.php - First page gives path disclosure, then when you click yes you have sql injection

    2) When an invalid "Number" parameter only the following pages is given a divide by zero error is produced resulting in path disclosure.

    SelectList.php
    SelectDelete.php

    3) The "DepositSlipID" parameter on the following page is vulnerable to sql injection and path disclosure.

    DepositSlipEditor.php

    3) The "QueryID" parameter on the following page is vulnerable to sql injection and path disclosure.

    QueryView.php

    Also specific ids are vulnerable to sql injection.

    QueryID?id=18 The search box is vulnerable to sql injection.
    QueryID?id=19 An sql injection can be performed by editing the html source of the form.

    There is about 5 more forms in this section where you can potenially edit the form, and inject but I did not test each one so I did not list them.

    4) The "GroupID" parameter on the following pages are vulnerable to sql injection and path disclosure.

    GroupView.php
    GroupMemberList.php
    MemberRoleChange.php
    GroupDelete.php
    /Reports/ClassAttendance.php
    /Reports/GroupReport.php

    5) The "GroupID" parameter on the following pages produces path disclosure when invalid input is given.

    GroupPropsFormRowOps.php
    /Reports/ClassAttendance.php
    /Reports/ClassList.php
    ConfirmLabels.php
    /DirectoryReport.php
    /Reports/NewsLetterLabels.php

    6) The "PropertyID" parameter on the following page is vulnerable to sql injection and path disclosure.

    PropertyEditor.php

    7) The "FamilyID" parameter on the following pages are vulnerable to sql injection and path disclosure.

    Canvas05Editor.php
    CanvasEditor.php
    FamilyView.php

    8) The "PledgeID" parameter on the following pages are vulnerable to sql injection and path disclosure.

    PledgeDetails.php

    Misc
    Many of the pages produced extract() errors when bogus input was fed leading to path disclosure.
    A few pages also produced path disclosures when directly accessed. Also some pages when directly accessed gave an sql error about an empty parameter, but were not exploitable when the parameter was given. Since this is an open source product you can simply view the queries from the source, but if it was closed source this could help to determine table structure and queries.

    Solution
    --------
    Properly cleansing user input before processing would eliminate all these errors.

    Credit
    ------
    thegreatone2176

    Greets
    ------
    Elohimus and pureone


  • Next message: Trustix Security Advisor: "TSLSA-2005-0038 - multi"

    Relevant Pages

    • [UNIX] ChurchInfo Multiple Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... vulnerabilities. ... UserDelete.php - First page gives path disclosure, ... SQL injection and path disclosure: ...
      (Securiteam)
    • Partial Links v1.2.2
      ... Exploits & Vulnerabilities: ... SQL Injection: ... Full path disclosure via page_footer.php: ... The input form box to login as admin can be spoofed to remove the max char limit allowed and the input data isn't properally sanatized before being generated dynamically too. ...
      (Bugtraq)
    • [Full-Disclosure] [waraxe-2004-SA#033 - Multiple security holes in PhpNuke - part 1]
      ... critical sql injection. ... A - Full Path Disclosure ... Fatal error: main: Failed opening required ... Reason is uninitialized array "filelist" ...
      (Full-Disclosure)
    • Re: java source code audit
      ... It is a common belief that Hibernate will protect 100% from SQL injection. ... You should check to ensure that the developers have implemented data validation routines that contain a default deny policy and restrict character classes to known good values. ... so I'm discarding SQL injection vulnerabilities. ...
      (Pen-Test)
    • [NEWS] Oracle Database and Report Engine Multiple Vulnerabilities
      ... Oracle Database and Report Engine Multiple Vulnerabilities ... allows attackers to cause SQL injection, directory traversal, gather ... Oracle Reports, a component of the Oracle Application ...
      (Securiteam)