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.
Solution: Update to version 0.9.5.2.
Provided and/or discovered by: ahmadbady
Original Advisory: http://milw0rm.com/exploits/7687
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com