PlaySMS SMS Gateway Multiple File Inclusion Vulnerabilities


Description   Some vulnerabilities have been discovered in PlaySMS SMS Gateway, which can be exploited by malicious people to disclose sensitive information and compromise a vulnerable system.
1) Input passed to the "gateway_module" parameter in plugin/gateway/gnokii/init.php and to the "themes_module" parameter in plugin/themes/default/init.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks and URL-encoded NULL bytes.
2) Input passed to the "apps_path[plug]" parameter in plugin/gateway/gnokii/init.php, to the "apps_path[themes]" parameter in plugin/themes/default/init.php, and to the "apps_path[libs]" parameter in lib/function.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local and external resources.
These vulnerabilities are confirmed in versions 0.9.3 and 0.9.4. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
PlaySMS SMS Gateway 0.x
     
Solution   Update to version 0.9.5.2.
     
CVE   CVE-2009-0103
CVE-2008-5881
     
References   http://milw0rm.com/exploits/7687
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
PHP : Remote file inclusion prevention : suspicious root_path parameter found in URL
3.2.0
PHP : Remote file inclusion prevention : URL found as parameter
3.2.0
Misc : Local File Inclusion - suspicious /etc/passwd found in URL
3.5.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2009-01-07 

 Target Type 
Server 

 Possible exploit 
Remote