Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Highly critical

pPIM Multiple Vulnerabilities

-

Release Date:  2008-08-12    Last Update:  2009-02-25    Views:  3,927

Secunia Advisory SA31424

Where:

From remote

Impact:

Security Bypass, Cross Site Scripting, Manipulation of data, Exposure of sensitive information, System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


Some vulnerabilities have been discovered in pPIM (Phlatline's Personal Information Manager), which can be exploited by malicious people or users to disclose potentially sensitive information, manipulate data, and compromise a vulnerable system, and by malicious people to conduct cross-site scripting and script insertion attacks and bypass certain security restrictions.

1) Input passed to the "file" parameter in upload.php (when "mode" is set to "delfile") is not properly sanitised before being used. This can be exploited to delete arbitrary files via directory traversal attacks.

Successful exploitation may require valid user credentials (but see #3).

2) Input passed to the "date" parameter in events.php is not 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.

Successful exploitation may require that the target user has valid user credentials.

3) A vulnerability is caused due to improper access restriction in changepassword.php. This can be exploited to change the password without valid user credentials.

4) A vulnerability is caused due to missing restrictions on what file types that users are allowed to upload in upload.php. This can be exploited to execute arbitrary PHP code.

Successful exploitation may require valid user credentials (but see #3).

5) Input passed to the "id" parameter in notes.php is not properly verified before being used to load files. This can be exploited to e.g. disclose potentially sensitive information via directory traversal attacks.

Successful exploitation may require valid user credentials (but see #3).

6) The "password.dat" file is stored with insecure permissions inside the web root. This can be exploited to gain knowledge of sensitive information (e.g. password hashes) by requesting the file directly.

7) The "templates/header.html" file does not properly restrict access to the application when password protection is enabled. This can be exploited to access password protected parts of the application by appending "?login=1" to the desired script's URL (e.g. http://host/ppim/contact.php?login=1").

8) The application does not properly restrict access to the "notes.php" script when password protection is enabled. This can be exploited to create and delete notes by posting to the mentioned script directly.

9) Input posted to the "notes.php" script is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site if the malicious note is displayed.

10) "email/[username].email" files are stored with insecure permissions inside the web root. This can be exploited to gain knowledge of sensitive information (e.g. mail server address, user name, and password) by requesting the files directly.

11) The application does not properly restrict access to the "sendmail.php" script when password protection is enabled. This can be exploited to send e-mails by posting to the mentioned script directly.

12) Input passed to the "makegroup.php" script is not properly sanitised before being written to a link file, which can be exploited to inject and execute arbitrary PHP code.

The vulnerabilities are confirmed in version 1.01 and reported in version 1.0. Other versions may also be affected.


Solution:
Edit the source code to ensure that input is properly sanitised and verified. Restrict access to changepassword.php and upload.php (e.g. with ".htaccess").

Further details available to Secunia VIM customers

Provided and/or discovered by:
1,2) BeyazKurt
3,4) Stack
5) JosS
6,7,8,9,10,11,12) Justin C. Klein Keane

Original Advisory:
1,2) http://milw0rm.com/exploits/6215
3,4) http://milw0rm.com/exploits/6231
5) http://milw0rm.com/exploits/6667
6,7,8,9,10,11,12) http://www.lampsecurity.org/node/18

Deep Links:
Links available to Secunia VIM customers

Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: pPIM Multiple Vulnerabilities

No posts yet

-

You must be logged in to post a comment.



 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability