zeek/testing/btest/scripts/base/protocols/smtp
Arne Welzel ae2a5c83a4 SMTP: No state update for bad BDAT commands
OSS-Fuzz found that providing an invalid BDAT line would tickle an
assert in UpdateState(). The BDAT state was never initialized, but
within UpdateState() that was expected.

This also removes the AnalyzerViolation() call for bad BDAT commands
and instead raises a weird. The SMTP analyzer is very lax and not triggering
the violation allows to parse the server's response to such an invalid
command.

PCAP files produced by a custom Python SMTP client against Postfix.
2024-01-15 18:25:41 +01:00
..
attachment-msg.test GH-1352: Added flag to stop processing SMTP headers in attached 2021-01-21 14:55:10 -05:00
attachment.test GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
basic.test General btest cleanup 2020-08-11 11:26:22 -07:00
bdat-0-last.test SMTP: Add BDAT support 2024-01-12 10:18:07 +01:00
bdat-cmd-invalid.test SMTP: No state update for bad BDAT commands 2024-01-15 18:25:41 +01:00
bdat-multipart-chunked.test SMTP: Add BDAT support 2024-01-12 10:18:07 +01:00
bdat-multipart.test SMTP: Add BDAT support 2024-01-12 10:18:07 +01:00
bdat-pipeline-8bitmime.test btest/smtp: Test with smtp-bdat-pipeline-8bitmime.pcap 2024-01-12 10:18:14 +01:00
bdat.test SMTP: Add BDAT support 2024-01-12 10:18:07 +01:00
mail-transactions-invalid-disable-analyzer.zeek smtp: Validate mail transaction and disable SMTP analyzer if excessive 2023-03-27 18:41:47 +02:00
mail-transactions-invalid.zeek smtp: Validate mail transaction and disable SMTP analyzer if excessive 2023-03-27 18:41:47 +02:00
mime-all-headers-event.zeek Add tests for {http,mime}_all_headers events 2019-08-13 11:28:00 -07:00
one-side.test General btest cleanup 2020-08-11 11:26:22 -07:00
starttls.test General btest cleanup 2020-08-11 11:26:22 -07:00