phpCOIN Multiple Vulnerabilities
Secunia Advisory: SA14439
Release Date: 2005-03-01
Last Update: 2005-04-05
Popularity: 7,620 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Exposure of sensitive information
Where: From remote
Solution Status: Vendor Patch

Software:phpCOIN 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-0669
CVE-2005-0670
CVE-2005-0946


Description:
Multiple vulnerabilities have been reported in phpCOIN, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks and disclose sensitive information.

1) Input passed to certain ID parameters in various modules isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Examples:
mod.php?mod=faq&mode=show&faq_id=[SQL]
mod.php?mod=pages&mode=view&id=[SQL]
mod.php?mod=siteinfo&id=[SQL]

The vulnerability has been reported in version 1.2.0 and 1.2.1b. Other versions may also be affected.

2) Input passed to certain parameters in various modules isn't properly sanitised before being used. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of a vulnerable site.

Examples:
mod.php?mod=helpdesk&mode=new[SCRIPT]
mod.php?mod=mail&mode=reset&w=user[SCRIPT]
login.php?w=user&o=login&e=u[SCRIPT]

The vulnerability has been reported in version 1.2.0 and 1.2.1b. Other versions may also be affected.

3) Input passed to the "page" parameter in "auxpage.php" isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources.

The vulnerability has been reported in version 1.2.1b and prior.

4) Input passed to various fields is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation requires that "magic_quotes_gpc" is disabled.

The vulnerability has been reported in version 1.2.1b and prior.

Solution:
Update to version 1.2.2.
http://www.phpcoin.com/auxpage.php?page=download

Provided and/or discovered by:
1-2) Lostmon
3-4) James Bercegay, GulfTech Security Research Team

Changelog:
2005-03-02: Updated solution based on information from the vendor.
2005-03-03: Updated solution based on testing that proved the solution to be inadequate.
2005-03-10: Added CVE references.
2005-03-21: Vendor issues version 1.2.2. Updated "Solution" section.
2005-03-29: Added additional information provided by James Bercegay. Updated advisory.
2005-04-05: Added CVE reference.

Original Advisory:
1-2) http://lostmon.blogspot.com/2005/03/phpcoin-posible-sql-injection-comands.html
3-4) http://www.gulftech.org/?node=research&article_id=00065-03292005


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