[SA18399] MyPHPim Multiple Vulnerabilities

2006-01-11T00:00:00
ID SECURITYVULNS:DOC:10980
Type securityvulns
Reporter Securityvulns
Modified 2006-01-11T00:00:00

Description

TITLE: MyPHPim Multiple Vulnerabilities

SECUNIA ADVISORY ID: SA18399

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

CRITICAL: Highly critical

IMPACT: Security Bypass, Cross Site Scripting, Manipulation of data, System access

WHERE: >From remote

SOFTWARE: MyPHPim 1.x http://secunia.com/product/6774/

DESCRIPTION: Aliaksandr Hartsuyeu has reported some vulnerabilities in MyPHPim, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks, and potentially to compromise a vulnerable system.

1) The problem is that it is possible to upload arbitrary files to a location inside the web root via the "addresses.php3" script.

2) Input passed to the "cal_id" parameter in "calendar.php3" and the password field when logging in isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

3) Input passed to the description field when creating a new todo isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities have been reported in version 01.05. Other versions may also be affected.

SOLUTION: Edit the source code to ensure that input is properly sanitised and move the upload directory out of the web root.

Use another product.

PROVIDED AND/OR DISCOVERED BY: Aliaksandr Hartsuyeu

ORIGINAL ADVISORY: http://evuln.com/vulns/22/summary.html http://evuln.com/vulns/23/summary.html


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.