Secunia Logo
Netsikker nu! 2008
 
phpCOIN SQL Injection and File Inclusion Vulnerabilities
Secunia Advisory: SA18030
Release Date: 2005-12-14
Popularity: 6,088 views

Critical:
Highly critical
Impact: Manipulation of data
Exposure of system information
System access
Where: From remote
Solution Status: Vendor Patch

Software:phpCOIN 1.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
rgod has reported two vulnerabilities in phpCOIN, which can be exploited by malicious people to conduct SQL injection attacks and compromise a vulnerable system.

1) Input passed to the "_CCFG[_PKG_PATH_DBSE]" parameter in "config.php" 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.

2) Input passed to the "phpcoinsessid" cookie parameter 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 requires that "magic_quotes_gpc" is disabled.

It is also possible to disclose the full path to "config.php" by accessing it directly.

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

Solution:
The vulnerabilities have been fixed in an updated 1.2.2 version (as of 2005-12-13).
http://www.phpcoin.com/auxpage.php?page=download

Provided and/or discovered by:
rgod

Original Advisory:
http://rgod.altervista.org/phpcoin122.html


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. phpBB Avatar Functions Information Disclosure and Deletion // 127 views
2. phpBB Avatar Script Insertion Vulnerability // 112 views
3. phpBB "url" bbcode Script Insertion Vulnerability // 100 views
4. phpBB BBcode "url" Script Insertion Vulnerability // 79 views
5. ArticleBeach Script "page" File Inclusion Vulnerability // 63 views
6. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 35 views
7. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 33 views
8. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 27 views
9. CA ARCserve Backup Multiple Vulnerabilities // 27 views
10. CUPS Multiple Vulnerabilities // 25 views