You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This POC uses OFPGroupDescStatsReply as an example. The OFPGroupDescStatsReply message will be accompanied by an OFPGroupDescStats structure, and the OFPGroupDescStats will be accompanied by an OFPBucket , in which the length of OFPAction is tampered with to 0.
However, please note that not all OFPActions will be assigned a length according to the length variable of the message when they are parsed. In this example, OFPActionSetField is used for demonstration.
The text was updated successfully, but these errors were encountered:
This problem also occurs with the following code:
/ryu/ofproto/ofproto_v1_3_parser.py about line=3607
/ryu/ofproto/ofproto_v1_4_parser.py about line=5416
/ryu/ofproto/ofproto_v1_5_parser.py about line=6495
in /ryu/ofproto/ofproto_v1_3_parser.py about line=3607
If action.len=0,the offset and length will no longer change and the parsing will fall into an infinite loop.
payload:
poc:
This POC uses OFPGroupDescStatsReply as an example. The OFPGroupDescStatsReply message will be accompanied by an OFPGroupDescStats structure, and the OFPGroupDescStats will be accompanied by an OFPBucket , in which the length of OFPAction is tampered with to 0.
However, please note that not all OFPActions will be assigned a length according to the length variable of the message when they are parsed. In this example, OFPActionSetField is used for demonstration.
The text was updated successfully, but these errors were encountered: