Cisco Snort sf_unfold_header Out-Of-Bounds Write Remote Code Execution Vulnerability
Snort mishandles HTTP response bodies that contain ZIP archives, and because it does not properly validate the data it writes past the end of an allocated buffer. A remote, unauthenticated attacker could use this to run code as the Snort service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Cisco Snort. Authentication is not required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the code processing ZIP archives in HTTP response bodies does not validate the data size before writing past the buffer's end.
Impact
An unauthenticated remote attacker could execute arbitrary code in the context of the Snort service account.
What the attacker needed
Network traffic inspected by Snort; crafted HTTP response with a ZIP body; no authentication needed
The fix
Cisco issued an update that corrects the vulnerability.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Snort is software that inspects network traffic for signs of attacks. When it looked inside compressed ZIP files carried in web responses, it could be tricked into writing data beyond the memory space it had reserved. That kind of memory mistake can let an outsider take control of the program, here without needing to log in first.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.