Vulnerability Note VU#496064
ibrow NewsDesk does not securely handle input passed to open()
Overview
A vulnerability in ibrow NewsDesk allows an attacker to view files and execute operating system commands with the privileges of the web server.
Description
ibrow NewsDesk is a Perl CGI script that is designed to create and display news articles on a web site. The code for NewsDesk is implemented in the file newsdesk.cgi. This code accepts input from a URL and uses this data in an argument to the Perl open() command. Since NewsDesk does not adequately filter URL input, it is possible to construct a URL containing shell meta-characters such as "../" and "|" (pipe), and these characters will be processed with the privileges of the web server. |
Impact
By submitting a specially crafted URL, an attacker can execute operating system commands and traverse the file system and read files with the permission of the web server. |
Solution
The CERT/CC is currently unaware of a practical solution to this problem. |
Modify NewsDesk
|
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| ibrow | Affected | 27 Mar 2002 | 02 Apr 2002 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
- http://www.securityfocus.com/bid/2172
- http://www.iss.net/security_center/static/5898.php
- http://www.safermag.com/html/safer33/alerts/92.html
- http://www.secureroot.com/security/advisories/9786224444.html
- http://www.eeye.com/html/Support/Retina/RTHs/CGI_Scripts/560.html
- http://www.perldoc.com/perl5.6/pod/func/open.html
- http://www.perldoc.com/perl5.6/pod/perlopentut.html
- http://www.perldoc.com/perl5.6.1/pod/perlsec.html
- http://www.linuxdoc.org/HOWTO/Secure-Programs-HOWTO/perl.html
Credit
The CERT Coordination Center acknowledges <path@ns.sympatico.ca> as the reporter of this vulnerability.
This document was written by Art Manion.
Other Information
- CVE IDs: CAN-2001-0231
- Date Public: 04 Jan 2001
- Date First Published: 02 Apr 2002
- Date Last Updated: 08 Apr 2002
- Severity Metric: 2.97
- Document Revision: 22
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.