Vendor: ModernGigabyte, LLC
Version: <= 4.3.0
BID: 13086 13087 13089
CVE: CVE-2005-1053 CVE-2005-1054
OSVDB: 15426 15427
ModernBill is a widely used billing and management software used by webhosts to manage billing and financial data. ModernBill is prone to remote file inclusion and cross site scripting in version prior to 4.3.1. A fixed version is available and users are advised to upgrade immediately.
Cross Site Scripting:
The ModernBill order forms are prone to multiple cross site scripting issues. Below are a few examples of this particular issue.
This vulnerability could be used to steal cookie based authentication credentials within the scope of the current domain, or render hostile code in a victim's browser.
Remote File Include Vulnerability:
ModernBill ships with a directory titled "samples" that resides in the root ModernBill directory. This directory contains several files to help users learn how to customize ModernBill to specifically fit their needs. One of the scripts included in this directory is vulnerable to a very dangerous remote file include vulnerability. Lets have a look at the file "news.php"
// ~~~~~~~~~~~~~~~~~ // DO NOT EDIT START // ~~~~~~~~~~~~~~~~~ include_once($DIR."include/functions.inc.php");If globals are set to on, and no include restrictions are in effect then we can include any php code of our choice remotely. Of course the webserver hosting the malicious file to be included could not have php enabled, or the file would be parsed before it reached the victim server.
This issue is very dangerous when present, but regardless of your server configuration you are still encouraged to upgrade immediately.
A fix for the mentioned issues has been available for quite some time now and users should upgrade thier ModernBill installations.
James Bercegay of the GulfTech Security Research Team