TITLE:
PHPCollab "Forgot password" SQL Injection Vulnerability

SECUNIA ADVISORY ID:
SA19449

VERIFY ADVISORY:
http://secunia.com/advisories/19449/

CRITICAL:
Moderately critical

IMPACT:
Manipulation of data

WHERE:
>From remote

SOFTWARE:
PHPCollab 2.x
http://secunia.com/product/9001/

DESCRIPTION:
rgod has discovered a vulnerability in PHPCollab, which can be
exploited by malicious people to conduct SQL injection attacks.

Input passed to the "User Name" field in "/general/sendpassword.php"
isn't properly sanitised before being used in a SQL query. This can
be exploited to manipulate SQL queries by injecting arbitrary SQL
code.

Successful exploitation potentially allows the admin user's password
hash to be disclosed, but requires that "magic_quotes_gpc" is
disabled.

The vulnerability has been confirmed in version 2.4 and also reported
in version 2.5 rc3. Other versions may also be affected.

Note: It is also reported that the admin user can inject PHP code
into the "settings.php" file via specially-crafted input passed to
the "Ftp server" field.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
rgod

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/1617

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

----------------------------------------------------------------------