Synopsis
The remote web server contains a PHP script that is prone to a local file inclusion attack.
Description
The web server hosts Open-Realty, a web-based real estate listing management application written in PHP.
At least one install of Open-Realty on the remote host fails to sanitize user-supplied input to the 'select_users_lang' parameter in POST requests to the 'index.php' script before using it to include PHP code.
Regardless of PHP's 'register_globals' setting, an unauthenticated remote attacker can leverage this issue to view arbitrary files or possibly execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.
Solution
Unknown at this time.
Plugin Details
File Name: open_realty_select_users_lang_lfi.nasl
Configuration: Enable thorough checks
Supported Sensors: Nessus
Vulnerability Information
CPE: cpe:/a:open-realty:open-realty
Required KB Items: www/PHP
Excluded KB Items: Settings/disable_cgi_scanning
Exploit Ease: Exploits are available
Exploited by Nessus: true
Vulnerability Publication Date: 8/18/2010
Reference Information
BID: 42546