J-Security Center

Title: Micro Focus Cobol Arbitrary Command Execution Vulnerability

Severity: MODERATE

Description:

Micro Focus Cobol is a development suite for unix platforms offered by Merant. The Micro Focus Cobol application server is offered on a per-user license basis.

When installing Micro Focus Cobol, the 'Apptrack' feature can be enabled to assist in tracking the licenses. If this is done, a shell-script called 'nolicense' is installed by default.

The 'nolicense' script is run whenever the application server licenses are all in use. It is executed with root privileges.

This shell-script is installed in a directory set mode 777 and the file itself is mode 666. It can thus be overwritten or modified by regular users.

An attacker may be able to execute arbitrary commands as root by modifying the script. Any injected shell commands could be executed.

It should be noted that the attacker must use up all application server licenses before this script is executed. In environments where such software is in regular use, this may not be difficult to accomplish.

Affected Products:

  • Micro Focus Cobol 4.1.0

References:

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.