JUNOS (Juniper) Flaw Exposes Core Routers to Kernel Crash

juniper防火墙(SSG and SRX)排障抓包命令 一、Screen OS抓包 debug:跟踪防火墙对数据包的处理过程 1. Set ffilter src-ip x.x.x.x dst-ip x.x.x.x dst-port xx 设置过滤列表,定义捕获包的范围 2、clear dbuf 清除防火墙内存中缓存的分析包 3、debug flow basic 开启debug数据流跟踪功能 4、发送测试数据包... 阅读详情

JUNOS (Juniper) Flaw Exposes Core Routers to Kernel Crash

by Prefect on 6 January 2010

juniper_thumb

A report has been received from Juniper at 4:25pm under bulletin PSN-2010-01-623 that a crafted malformed TCP field option in the TCP header of a packet will cause the JUNOS kernel to core (crash). In other words the kernel on the network device (gateway router) will crash and reboot if a packet containing this crafted option is received on a listening TCP port. The JUNOS firewall filter is unable to filter a TCP packet with this issue. Juniper claims this issue as exploit was identified during investigation of a vendor interoperability issue.

There is talk that backbone Internet providers have been quickly patching this issue since yesterday night.

TCP Header Option Space

“Options occupy space at the end of the TCP header. All options are included in the checksum. An option may begin on any byte boundary. The TCP header must be padded with zeros to make the header length a multiple of 32 bits.” (Source: http://www.networksorcery.com/enp/protocol/tcp.htm)

The TCP Header

The TCP Header

Source: http://www.software-engineer-training.com/wp-content/uploads/2007/12/tcp_header.png

The Kernel

At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware the OS is running on. The kernel manages system resources and abstracts resources that applications must access.

Basic Kernel Representation

Basic Kernel Representation

Affected Devices

It is basically all of them save the more recent version. If you’ve installed a device with a JUNOS release version released later then 1/28/09, this issue is already corrected. Apparently the original issue and its correction did not conceive of this problem as a security vulnerability, and thus the criticality of applying the patch was not initially understood until this week.

  • JUNOS 10.x (Removed from the bulletin today, 01/07/09, so assumed to not be affected)
  • JUNOS 9.x
  • JUNOS 7.x
  • JUNOS 8.x

Please note the versions below were removed from the bulletin today, 01/07/09. This is likely because, as Matt pointed out below, these are end of life versions of the OS (meaning likely still vulnerable if you happen to be running them, but out of scope for Juniper because from their standpoint these should already have been upgraded).

  • JUNOS 6.x
  • JUNOS 5.x
  • JUNOS 3.x
  • JUNOS 4.x

Juniper’s Advice

Juniper references best common practice (BCP) 38, a methodology for reducing the amount of bad packets being forwarded by network devices (basically prohibiting packets where the originator can’t effectively be identified), as a possible mitigating control.

However there is no completely effective workaround available other then upgrading the OS.

Update

Juniper responded to the Register as follows: “that the bulletin was one of seven security advisories the company issued under a policy designed to prevent members of the public at large from getting details of the vulnerabilities.”

“Because of Juniper’s ‘Entitled Disclosure Policy,’ only our customers and partners are allowed access to the details of the Security Advisory,”
– Juniper spokeswoman

Interesting approach, and probably would be better received if vulnerabilities only affected those entitled. Unfortunately the networks that run high end Juniper equipment serve a great many end users, and thus in this case the general public would probably like some informed background. At the point the media is contacting you, it is safe to say the “cat is out of the bag”. And this is the response from a company that is a strong player in the information security appliance space?

The flip side is that the Juniper response to this issue from a technical perspective has appeared to be at first glance fairly comprehensive, a PR opportunity if managed correctly.

And yes, this is the same firm that feels this way when it is they who are discussing the vulnerability of someone else’s product: “Juniper believes that Jack’s research (on ATM vulnerabilities) is important to be presented in a public forum in order to advance the state of security,”.

We agree with the second Juniper: more education, especially after the problem has been corrected, is better.

Finally

More information will be posted as it becomes available. This was a serious issue which appears to have been averted through a coordinated response. Essentially, given the core equipment (big Telco routers) running “Big Iron” type Juniper network devices, portions of the Internet could have gone black with a successful implementation of this exploit. Routers at this level are not patched like your local Windows OS, it takes something important to justify an outage. As previously noted, even though the code problem itself was identified last year, it appears that the problem was not identified as a mechanism for creating a remote exploit until now, raising the criticality of patching the issue severely.

对于数据包的截取,使用linux中的netfilter钩子函数 netfilter可以过滤数据包,也就对数据包经行了截获,它通过调用内核网络代码中的一些hook函数完成所需要的工作。 而当一个当数据包游历Linux内核的网络堆栈时,它穿过了几个hook点,在这里,数据包可以被分析并且选择是保留还是丢弃,这些hook点就是Netfilter hook。   而钩子函数(回调函数)也是系统内核为驱动程序提供的一些特定的函数,在驱动程序中某个变量的状态发生改变 阅读详情

相关推荐

洞悉linux下的Netfilter&iptables

发现不错的讲解linux下的Netfilter&iptables的文章,记录如下: (一)洞悉linux下的Netfilter&iptables:什么是Netfilter?  (二)洞悉linux下的Netfilter&iptables:内核中的ip_tables小觑  (三)洞悉linux下的Netfilter&iptables:内核中的rule,match和target (四)

瞎几把学 845

Linux Shell编程中的几个特殊符号命令 & 、&& 、 ||

& 放在启动参数后面表示设置此进程为后台进程 默认情况下,进程是前台进程,这时就把Shell给占据了,我们无法进行其他操作,对于那些没有交互的进程,很多时候,我们希望将其在后台启动,可以在启动参数的时候加一个’&’实现这个目的。

瞎几把学 2万+

商BC1590年世界历史地图矢量文件SHP格式.zip

本资源为《商BC1590年世界历史地图矢量文件SHP格式》压缩包,文件大小约 17.96 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。

IDA 分析BIOS

如果是系统BIOS的话,入口应该在F000:FFF0(即物理地址FFFF0)。   F000:FFF0(即物理地址FFFF0)。     F000是段地址,FFF0是偏移。 

瞎几把学 1999

DeepSeek智慧政务数字政府AI大模型微调设计方案.docx

DeepSeek智慧政务数字政府AI大模型微调设计方案.docx

大型央企十五五企业级数据编织(Data Fabric)架构与主动元数据管理平台初步设计方案.docx

大型央企十五五企业级数据编织(Data Fabric)架构与主动元数据管理平台初步设计方案.docx

linux 函数hook实现数据包过滤基本框架

#include  #include  #include  #include  /* 用于注册我们的函数的数据结构 */ static struct nf_hook_ops nfho; /* 注册的hook函数的实现 */ unsigned int hook_func(unsigned int hooknum,                        struct s

瞎几把学 1573

圆铝杆:电网升级与高性能合金打开圆铝杆市场增长新空间.docx

圆铝杆:电网升级与高性能合金打开圆铝杆市场增长新空间

linux shell编程之——if语句

一、语句格式 一行中的写法:if TEST-COMMANDS; then CONSEQUENT-COMMANDS; fi 多行的写法: if  条件 then  Command else  Command fi  基本语法记住亮点: 1、按照汉语的方式记忆:如果(if)xxx那么(then)就xxx,否则(else)就xxx 2、记住要使用fi作为结束

瞎几把学 1254

集团长任务Agent稳定性测试与故障恢复能力建设平台建设方案.docx

集团长任务Agent稳定性测试与故障恢复能力建设平台建设方案.docx

低空经济运营体系构建与实施路径规划方案.docx

低空经济运营体系构建与实施路径规划方案.docx

Linux shell之——循环

for xxx in xxx do ... done 1.  数字集合 for i in {1..20} do   echo  $i done 2.详细列出(字符且项数不多) for i in 1 2 3 4 5 do    echo $i done 3.对存在的文件进行循环 for filename in `ls *.sh` d

瞎几把学 1006

ArcGIS:根据DEM数据提取区域水系

利用DEM数据提取区域水系是常见的水文分析应用,为了获取区域的矢量水系数据,我们可以通过ArcGIS对高程DEM数据进行水文分析,为地表水流建立模型,进而获取到该地的水系数据,DEM数据精度越高,获取到的水系数据精度也就越高。以下介绍如何用ArcGIS提供的工具提取水系。

Oruizn的博客 9116

AboCom firmware

http://www.abocom.com.tw/download_show.aspx?ptype=66395a7ea68b3cb8a3e548690eb0df8a&id=163390C39B03E84E0BD6612F82E7DA11download the firmware

瞎几把学 920

倍福 MODBUS TCP/IP通信

(*默认字符串80字节,此处声明为255字节,可以一次性传42个UINT数据.5位整数加一个空格,即每个数据6字节*)(*---------------------------------------- 以下为用户程序 ----------------------------------------*)(*读回并换算后的值*)(*准备写到PLC的值*)(*用于比较两次读回的值相差多少,以估计通讯的速度, Act_CalcDiff*)(*用于切换读和写,Act_Protocal*)

qq_33280096的博客 1374

泰凌微8258入门教程——导读

基于泰凌微TLSR8258 Bluetooth® SIG Mesh 的入门系列教程

2万+

Linux Shell 编程中需要注意的几个知识点

Shell编程中需要注意的几个知识点 1、程序必须以下面的行开始(必须方在文件的第一行): #!/bin/bash 符号#!用来告诉系统它后面的参数是用来执行该文件的程序。在这个例子中我们使用/bin/sh来执行程序。 当编辑好脚本时,如果要执行该脚本,还必须使其可执行。 2、运行脚本前需要修改脚本为可执行     编译 chmod +x filename 这样才能用./filenam

瞎几把学 892

Matlab:指数函数的图形比较

在上述代码中,我们使用不同的线型和颜色来区分不同的指数函数。运行代码后,我们将得到一个包含自然指数函数、以底数2的指数函数和指数衰减函数的图形比较。在本文中,我们通过Matlab代码展示了如何绘制自然指数函数、以底数2的指数函数和指数衰减函数的图形,并提供了比较不同指数函数的图形的示例代码。在本文中,我们将比较几种常见的指数函数的图形,并提供相应的Matlab源代码。图形呈现出指数增长的特征,随着x的增大,函数值呈现出快速的上升趋势。运行代码后,我们将获得以底数2的指数函数的图形。绘制自然指数函数的图形。

学习使你进步。 1448

Linux输入输出重定向

linux shell下常用输入输出操作符是: 1.  标准输入   (stdin) :代码为 0 ,使用 /proc/self/fd/0   0代表:/dev/stdin  2.  标准输出   (stdout):代码为 1 ,使用 > 或 >> ; /dev/stdout -> /proc/self/fd/1  1代表:/dev/stdout 3.  标准错误输出(stderr):

瞎几把学 744

AUTOSAR进阶图解==>AUTOSAR_SWS_CANNetworkManagement

本文介绍了AUTOSAR架构中的CAN网络管理(CanNm)模块,主要内容包括: 模块概述:CanNm是协调CAN网络节点状态转换的基础组件,采用去中心化设计,通过周期性发送网络管理PDU保持网络活跃状态,支持网络唤醒、睡眠和部分网络功能。 架构设计:CanNm位于AUTOSAR中间层,连接上层通信管理器(ComM)和底层CAN接口(CanIf),包含状态管理、PDU处理和定时器管理等子组件。 状态机设计:定义了三种主要模式(总线睡眠、准备睡眠和网络模式)及其转换逻辑,网络模式又包含重复消息、正常操作和准备

一名留德华的,康德的信徒的,专注于汽车电子领域的博客 2050

从点云到舱口尺寸:船甲板舱口检测的算法实现

本文提出了一种从船甲板激光扫描点云中自动检测舱口尺寸的算法。通过数据预处理(降采样、去噪、平面分割)后,采用甲板投影轮廓法将3D点云转换为2D图像,利用双次闭运算解决扫描碎片化问题,通过轮廓树检测内轮廓识别舱口。算法最终能稳定检测出三个主要舱口的长宽尺寸、面积和位置信息,矩形度超过0.89。该方法克服了扫描稀疏和围壁结构复杂的问题,参数可调性强,适用于工程实践。关键创新点在于将舱口识别转化为图像中的"洞"检测,而非直接处理3D几何特征。

点云兔子的博客 151

Juniper Networks IVE OS homepage.cgi脚本URI重新定向漏洞

Juniper Networks IVE OS homepage.cgi脚本URI重新定向漏洞发表时间:2010-06-14 10:58:32 作者: 来源:红客联盟<br />发布日期: 2010-06-10n6U中国红客联盟-全 球最大的红客组织<br />更新日期: 2010-06-14n6U 中国红客联盟-全球最大的红客组织<br />n6U中国红客联盟-全球最大的红 客组织<br />受影响系统:Juniper Networks IVE OS 6.5 R2 n6U中国红客联盟-全球最大

瞎几把学 358

【数字IC基础】DFT(Design For Test)可测性设计

【数字IC基础】DFT(Design For Test)可测性设计

努力,加油每一天鸭~ 3479
上一篇: Juniper Networks IVE OS homepage.cgi脚本URI重新定向漏洞
下一篇: Linux开机启动过程分析
hack8
博客等级 码龄18年 109粉丝 128原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址