Project

General

Profile

Actions

Security #8750

closed
PA PA

nfs: v3 READ attr_follows=0 file-data inspection bypass

Security #8750: nfs: v3 READ attr_follows=0 file-data inspection bypass

Added by Philippe Antoine about 1 month ago. Updated about 1 hour ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Label:
CVE:
Git IDs:
Severity:
LOW
Disclosure Date:

Description

Original report TL;DR

Suricata 8.0.6 accepts an NFSv3 READ reply with attr_follows=0, but the parser subsequently attempts to consume an 84-byte fattr3 structure unconditionally.
Under the NFSv3 XDR format, the attributes following the attr_follows discriminator are optional. When attr_follows=0, the 84-byte attribute structure is not present.
As a result, an otherwise valid NFSv3 READ success response is treated as malformed before its file content reaches Suricata’s file-data inspection path.

Subtasks 1 (0 open1 closed)

Security #8751: nfs: v3 READ attr_follows=0 file-data inspection bypass (8.0.x backport)ClosedPhilippe AntoineActions
Actions

Also available in: PDF Atom