Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

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

0

0

Article ID: JSA10513 SECURITY_ADVISORIES Last Updated: 05 Mar 2017Version: 3.0
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.

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

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search