Open ErodedElk opened 8 months ago
This problem also occurs with the following code: /ryu/ofproto/ofproto_v1_3_parser.py about line=4083 /ryu/ofproto/ofproto_v1_4_parser.py about line=3486 /ryu/ofproto/ofproto_v1_2_parser.py about line=2279 /ryu/ofproto/ofproto_v1_0_parser.py about line=956
in /ryu/ofproto/ofproto_v1_3_parser.py about line=4083
If inst.length =0,the offset will no longer change and the parsing will fall into an infinite loop.
payload:
poc:
This POC uses OFPFlowStatsReply as an example. The OFPFlowStatsReply message will be accompanied by an OFPFlowStats structure, in which the length of OFPInstruction is tampered with to 0.