Open RedXanadu opened 20 hours ago
It has been suggested that Coraza is compiling a different version of libInjection and may even be working using different data sets to mainstream ModSecurity. This may explain why the Coraza version is hiding lots of false positives. Therefore, the new Coraza-based quantitative testing numbers will be misleading and will mask (user) problems with libInjection-based rules.
For quantitative testing mode, the numbers reported for libInjection rules do not match with the numbers produced by running the reference shell script against Apache + ModSecurity v2.
Testing 10k corpus
Reference script with Apache + ModSecurity v2:
ftw + Coraza: FP 1 (payload 1187): NO MATCHES
ftw + Coraza: FP 2 (payload 2336): NO MATCHES
ftw + Coraza: FP 3 (payload 5674): SUCCESSFUL MATCH
ftw + Coraza: FP 4 (payload 8236): NO MATCHES
Testing 100k corpus
ftw + Coraza:
16 MATCHES
Reference script with Apache + ModSecurity v2:
31 matches