YaPiG Multiple Vulnerabilities
Secunia Advisory: SA15600
Release Date: 2005-06-06
Last Update: 2005-07-04
Popularity: 6,996 views

Critical:
Highly critical
Impact: Cross Site Scripting
Manipulation of data
System access
Where: From remote
Solution Status: Vendor Patch

Software:YaPiG 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-1881
CVE-2005-1882
CVE-2005-1883
CVE-2005-1884
CVE-2005-1885
CVE-2005-1886


Description:
Some vulnerabilities have been reported in YaPiG, which can be exploited to remove or create arbitrary directories, conduct cross-site scripting attacks, and compromise a vulnerable system.

1) It is possible to upload arbitrary files to a directory inside the web root. This can e.g. be exploited to execute arbitrary PHP code by uploading a malicious PHP file.

Successful exploitation requires administrative privileges.

2) Input passed to the "phid" parameter in "view.php" isn't properly sanitised before being returned to users. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of a vulnerable site.

3) Input passed to the "BASE_DIR" and "YAPIG_PATH" parameters isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from external and local resources.

Successful exploitation requires that "register_globals" is enabled.

4) Input passed to the "dir" parameter in "upload.php" isn't properly verified before being used. This can be exploited to create or remove arbitrary directories via directory traversal attacks.

Successful exploitation requires administrative privileges.

The vulnerabilities have been reported in versions 0.92b, 0.93u, and 0.94u. Other versions may also be affected.

Solution:
Update to version 0.95b

Provided and/or discovered by:
Discovered by anonymous person and reported via SecWatch.

Changelog:
2005-06-10: Added CVE references.
2005-07-04: New version released. Updated "Solution" section.

Original Advisory:
SecWatch:
http://secwatch.org/advisories/secwatch/20050530_yapig.txt


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 62 views
2. HP OpenView Select Identity Connectors Information Disclosure // 50 views
3. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 49 views
4. Drupal Content Construction Kit Script Insertion Vulnerabilities // 42 views
5. Microsoft Office Two Code Execution Vulnerabilities // 38 views
6. Opera Multiple Vulnerabilities // 32 views
7. CS-Cart "cs_cookies" SQL Injection Vulnerability // 31 views
8. Sun Java JDK / JRE Multiple Vulnerabilities // 31 views
9. VLC Media Player Multiple Vulnerabilities // 26 views
10. Wireshark Denial of Service Vulnerabilities // 25 views