Commit 57b9633
committed
Handle TransferSyntax UUID in opposite byte order during DCE/RPC bind
Some exploit tools encode the NDR32 TransferSyntax UUID bytes in
big-endian format within a little-endian DCE/RPC packet. When the
standard byte-order parse doesn't match NDR32/NDR64, try the opposite
byte order before rejecting.1 parent 2cc925c commit 57b9633
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1663 | 1663 | | |
1664 | 1664 | | |
1665 | 1665 | | |
| 1666 | + | |
| 1667 | + | |
1666 | 1668 | | |
1667 | 1669 | | |
1668 | 1670 | | |
1669 | 1671 | | |
1670 | 1672 | | |
1671 | 1673 | | |
1672 | | - | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
1673 | 1682 | | |
1674 | 1683 | | |
1675 | 1684 | | |
| |||
0 commit comments