Title: PerlCal Directory Traversal Vulnerability
Severity: MODERATE
Description:
PerlCal is a CGI script written by Acme Software that allows web-based calendar functions.
A PerlCal component, cal_make.pl, contains an input validation flaw that can lead to the disclosure of arbitrary files to an attacker. During operation, cal_make.pl uses HTML variables to construct a filename to open. The script fails to check for '../' sequences in the HTML variable. As a result, sequences such as
http://www.example.com/cgi-bin/cal_make.pl?
p0=../../../../../../../../../../../../etc/passwd%00
will, when supplied to the script, cause the server to display the contents of the file /etc/passwd. It should be noted that the files will be read with the privileges of the webserver process, which are usually those of user 'nobody'.
This attack may lead to the disclosure of sensitive information and may aid in the assistance of future attacks.
Affected Products:
- Acme Software PerlCal 2.13.0
- Acme Software PerlCal 2.18.0
- Acme Software PerlCal 2.3.0
- Acme Software PerlCal 2.4.0
- Acme Software PerlCal 2.5.0
- Acme Software PerlCal 2.6.0
- Acme Software PerlCal 2.7.0
- Acme Software PerlCal 2.80.0
- Acme Software PerlCal 2.9.0
- Acme Software PerlCal 2.9.0a
- Acme Software PerlCal 2.9.0b
- Acme Software PerlCal 2.9.0c
- Acme Software PerlCal 2.9.0d
- Acme Software PerlCal 2.9.0e
- Acme Software PerlCal 2.95.0
References:
- PerlCal: PerlCal website
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.