-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2013.0966
2013-07 Security Bulletin: Junos: Kernel crash during processing of certain
 ARP requests when proxy-arp and arp-resp options enabled (CVE-2013-4686)
                               12 July 2013

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           kernel
Publisher:         Juniper Networks
Operating System:  Juniper
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2013-4686  

Original Bulletin: 
   http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10576

- --------------------------BEGIN INCLUDED TEXT--------------------

2013-07 Security Bulletin: Junos: Kernel crash during processing of certain ARP 
requests when proxy-arp and arp-resp options enabled (CVE-2013-4686)

[JSA10576] Hide KB Properties

Categories:	
Switch Products
Security Products
Router Products
JUNOS
SIRT Advisory

Security Advisories ID:	JSA10576
Last Updated:	10 Jul 2013
Version:	2.0

PRODUCT AFFECTED:

This issue can affect any product or platform running Junos OS 10.4, 11.4, 
11.4X27, 12.1X44, 12.1, 12.2, or 12.3

PROBLEM:

The Junos kernel may crash when receiving a certain ARP request from a client 
when a 'family inet' interface:
- - is configured as a VLAN interface with an unnumbered address based on lo0
- - lo0 is configured with a non-/32 address, and
- - both 'proxy-arp unrestricted' and 'arp-resp unrestricted' are enabled

An example affected configuration is shown below:
interfaces {
    ge-3/0/0 {
        interface-transmit-statistics;
        flexible-vlan-tagging;
        encapsulation flexible-ethernet-services;
        unit 4000 {
            arp-resp unrestricted;
            proxy-arp unrestricted;
            vlan-tags outer 1 inner 4000;
            family inet {
                mac-validate strict;
                unnumbered-address lo0.0;
            }
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 10.0.0.1/24;
            }
        }
    }
    ge-3/1/0 {
        unit 0 {
            family inet {
                address 20.0.0.2/24;
                address 10.0.0.4/31;
            }
        }
    }
}
routing-options {
    static {
        route 11.0.0.0/24 next-hop 20.0.0.1;
    }
}

This issue was found during internal product security testing.

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

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

This issue has been assigned CVE-2013-4686.

SOLUTION:

All Junos OS software releases built on or after 2013-06-09 have fixed this 
specific issue. Releases containing the fix specifically include: 10.4R14, 
11.4R8, 11.4X27.43 (BBE), and 12.1X44-D20 (SRX), 12.1R6, 12.2R4, 12.3R2, 
13.1R1, and all subsequent releases (i.e. all releases built after 13.1R1).

Customers can confirm the build date of any Junos OS release by issuing the 
command 'show version detail'.

This issue is being tracked as PR 842091 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:

If the 'arp-resp unrestricted' and/or 'proxy-arp unrestricted' options are not 
required, removing either configuration statement will completely mitigate 
this kernel crash. Additionally, if there is no specific need to use a non-/32 
address on the lo0 interface, changing the mask to /32 will also mitigate this 
issue.

IMPLEMENTATION:

 How to obtain fixed software:

Security vulnerabilities in Junos are fixed in the next available Maintenance 
Release of each supported Junos version. In some cases, a Maintenance Release 
is not planned to be available in an appropriate time-frame. For these cases, 
Service Releases are made available in order to be more timely. Security 
Advisory and Security Notices will indicate which Maintenance and Service 
Releases contain fixes for the issues described. Upon request to JTAC, 
customers will be provided download instructions for a Service Release. 
Although Juniper does not provide formal Release Note documentation for a 
Service Release, a list of "PRs fixed" can be provided on request.

RELATED LINKS: 

- - KB16613: Overview of the Juniper Networks SIRT Monthly Security Bulletin 
Publication Process
- - KB16765: In which releases are vulnerabilities fixed?
- - KB16446: Common Vulnerability Scoring System (CVSS) and Juniper's Security 
Advisories
- - Report a Vulnerability - How to Contact the Juniper Networks Security 
Incident Response Team
- - CVE-2013-4686: Kernel crash during processing of certain ARP requests when 
proxy-arp and arp-resp options enabled

CVSS SCORE:

7.1 (AV:N/AC:M/Au:N/C:N/I:N/A:C)

RISK LEVEL:

High

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."

ACKNOWLEDGEMENTS:

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUd9SlhLndAQH1ShLAQKQWw/7BgtH4KvoHCEXXA7PjDNl10xEVdbZmgp+
p1PSxXA2bMmY4a/QJuLr1iewUoX05CEfFgRThVOvcc8kpd/DQv2vFbaiikhSiglP
qcO+vX6mgYhNX0qZXhf45vm0+wHipXdKjYlqccfQgzxTcaPA7xt5ZvPrBWsF06l9
CipmUNAnLJ0a4zjm+IeYCx+F0Lq9Cz3yDVukENAVUl6PM81MZVW1llbvSmqcQzYk
6wEF8YutZsfWZvf8EcUnpfrwhTuVyhh26yXNzcS7kTbtVXaLAPRtQeH6aefuygGA
dKi5Gs7f6jaj//HevKmxeGc267CwxL+qz2psQOxfvHo09wUSncoPJKwcSaJlflpD
7mera1y7p9+LUinGRyWxrtB0DeBa+gvzDsvP8Ddo3rEOYHDLr+kJQHYMErVEp2DE
EhFqu/MdSQWKhZ15lTWyy7FMbDtDqsPXDhnybTaaPAr9fpysxiwjAHBhtKuTcJep
NFZTpVfNfbnkvXpU1nMA5vA0l9mf4ZXPSXyaoe3hLlXb6dCgB3BP1jXrkT10BU+0
1ELKk/b6FsapfnzriYdwplESQ2DSzl8+HM3tN7Kl4pMhfX4Dd2xJjn+utzHgt57p
WiUtG7COuhmqT/f0NHyaVkr4qZsyKHC8S7lC829nEwGuLEfJAXEemPUzu8N/ezwT
C1vFNe2u54A=
=cg/E
-----END PGP SIGNATURE-----