J-Security Center

Title: Sysadmin Magazine man.sh Arbitrary Command Execution Vulnerability

Severity: MODERATE

Description:

man.sh is a script that was published in Sysadmin magazine. The purpose of the script is to create .html files from man pages for formatted viewing on the fly.

A problem with the man.sh script however can allow users to remotely execute arbitrary commands. Due to the improper handling of special characters by the script it is possible to force the script to execute arbitrary commands. This problem can make it possible for a user with malicious motives to execute arbitrary commands with the UID and GID of the httpd process, and potentially gain access to the local host.

Affected Products:

  • SysAdmin Magazine man.sh 1.0.0

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.