Knowledge Search


×
 

2012-06 Security Bulletin: IDP: Perl interpreter access vulnerability

  [JSA10513] Show Article Properties


Legacy Advisory Id:
PSN-2012-06-612
Product Affected:
This issue affects IDP Series products.
Problem:
The IDP web management interface is configured incorrectly so that the Perl interpreter is accessible via the web interface. This permits the execution of arbitrary Perl commands with root privileges on the server.

Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

No other Juniper Networks products or platforms are affected by this issue.

Solution:
The issue has been fixed in IDP OS version 5.1r3 and all subsequent releases.The Juniper SIRT strongly recommends upgrading to a fixed release or applying the workaround as soon as possible.

This issue is being tracked as PR 679403 and is visible on the Customer Support website.

KB16765 - "In which releases are vulnerabilities fixed?" describes which release vulnerabilities are fixed as per our End of Engineering and End of Life support policies.

Workaround:
The issue can be worked around by modifying the web server's configuration file to deny access to the Perl interpreter, as follows:

Edit the /etc/httpd/conf/httpd.conffile and find the following block of text:

<Location /putfile>
SetHandler perl-script
PerlHandler WebConf::PutFile
</Location>


Immediately following the above text block, insert these instructions:

<Location /cgi-bin/*.exe>
order deny,allow
deny from all
</Location>

The resulting change should look like this: (customer added lines in bold font)

<Location /putfile>
SetHandler perl-script
PerlHandler WebConf::PutFile
</Location>
<Location /cgi-bin/*.exe>
order deny,allow
deny from all
</Location>

Save the modified file and restart the web server with the command: service httpd restart. The Perl interpreter will no longer be accessible via the web interface.

Modification History:
Modification History:

2017-03-05: Category restructure.

Related Links:
CVSS Score:
9.0 (AV:N/AC:L/Au:S/C:C/I:C/A:C)
Risk Level:
Critical
Risk Assessment:
Information for how Juniper Networks uses CVSS can be found at KB 16446 "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."