Overview
Apple Terminal on Mac OS X fails to sanitize x-man-page URIs, allowing an attacker to execute arbitrary commands.
Description
Mac OS X 10.3 includes a URI handler called x-man-page. It causes Apple Terminal to display a man page by using a URI of this form: x-man-page://command. Applications such as Safari can link to x-man-page resources. Apple Terminal fails to sanitize input to the x-man-page URI handler. Escape characters embedded in the x-man-page URI could cause commands to be executed in the Terminal session. |
Impact
By convincing a user to view an HTML document (e.g., a web page or HTML email message), an attacker could execute arbitrary commands or code with the privileges of the user. The attacker could take any action as the user. If the user has administrative privileges, the attacker could take complete control of the user's system. |
Solution
Apply a patch |
Vendor Information
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | ||
Temporal | ||
Environmental |
References
Acknowledgements
Thanks to David Remahl for reporting this vulnerability.
This document was written by Will Dormann.
Other Information
CVE IDs: | CVE-2005-1342 |
Severity Metric: | 22.31 |
Date Public: | 2005-05-03 |
Date First Published: | 2005-05-06 |
Date Last Updated: | 2005-05-16 16:10 UTC |
Document Revision: | 9 |