psInclude Input Validation Flaw in 'template' Variable Lets Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1009569 |
|
SecurityTracker URL: http://securitytracker.com/id/1009569
|
|
CVE Reference:
GENERIC-MAP-NOMATCH
(Links to External Site)
|
Date: Mar 28 2004
|
Impact:
Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes Exploit Included: Yes
|
Version(s): prior to version 1.42
|
Description:
Harris JeJENg reported in input validation vulnerability in psInclude. A remote user can execute arbitrary commands on the target system.
It is reported that the 'psinclude.cgi' script does not properly validate user-supplied input in the 'template' variable before passing the input to an open() statement. A remote user can supply a specially crafted URL to execute arbitrary operating system commands on the target system.
A demonstration exploit URL is provided:
/cgi-bin/psinclude.cgi?template=|uname%20-a;uptime|
|
Impact:
A remote user can execute arbitrary operating system commands on the target system with the privileges of the target web service.
|
Solution:
The vendor has released a fixed version (1.42), available at:
http://www.psyon.org/projects/psinclude/
|
Vendor URL: www.psyon.org/projects/psinclude/ (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Any), UNIX (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Wed, 24 Mar 2004 12:04:32 -0800 (PST)
Subject: psinclude vulnerabilities
|
psinclude vulnerabilities
1. Problem
2. Exploit
3. Info
1. A remote user can execute arbitrary shell commands
with the privileges of the target web server couse
cgi' script does not filter user-supplied input before
making an open() call based on that input. A remote
user can create a specially crafted URL to cause the
system to execute arbitrary operating
system commands.
2. www.site.com//cgi-bin/psinclude.cgi?template=|uname
-a;uptime|
3. Vendor URL: www.psyon.org/projects/psinclude
Reported By: Harris JeJENg (jejeng_ptn@yahoo.com)
greeting : For All #MinangCrew member at dalnet
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
|
|