|
phpCOIN HTTP Response Splitting and File Inclusion
|
|
Secunia Advisory:
|
SA21624
|
|
|
Release Date:
|
2006-08-25
|
|
Last Update:
|
2006-09-08
|
|
Popularity:
|
8,724 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | phpCOIN 1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-4424 CVE-2006-4425
|
|
Description: Some vulnerabilities have been reported in phpCOIN, which can be exploited by malicious people to conduct HTTP response splitting attacks and to compromise a vulnerable system.
1) Input passed to the "_CCFG[_PKG_PATH_INCL]" parameter in multiple files is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.
Examples:
http://[host]/coin_includes/api.php?_CCFG[_PKG_PATH_INCL]=[file]
http://[host]/coin_includes/common.php?_CCFG[_PKG_PATH_INCL]=[file]
http://[host]/coin_includes/constants.php?_CCFG[_PKG_PATH_INCL]=[file]
http://[host]/coin_includes/core.php?_CCFG[_PKG_PATH_INCL]=[file]
http://[host]/coin_includes/custom.php?_CCFG[_PKG_PATH_INCL]=[file]
http://[host]/coin_includes/db.php?_CCFG[_PKG_PATH_INCL]=[file]
http://[host]/coin_includes/redirect.php?_CCFG[_PKG_PATH_INCL]=[file]
http://[host]/coin_includes/session_set.php?_CCFG[_PKG_PATH_INCL]=[file]
Successful exploitation requires that "register_globals" is enabled.
The vulnerabilities have been confirmed in version 1.2.3. Other versions may also be affected.
2) Input passed to unspecified parameters is not properly sanitised before being returned to the user. This can be exploited to insert arbitrary HTTP headers, which will be included in a response sent to the user.
The vulnerability has been reported in versions prior to 1.2.4.
Solution: Update to version 1.2.4.
Provided and/or discovered by: 1) Timq
2) Reported by the vendor.
Changelog: 2006-08-29: Added CVE references.
2006-09-08: Added additional information about a vulnerability provided by the vendor. Updated "Solution" and "Description" section, and "Title".
Original Advisory: 1) http://milw0rm.com/exploits/2254
2) http://forums.phpcoin.com/index.php?showtopic=37
|
|
|
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.
|