KL-001-2017-012 : Barracuda WAF Grub Password Complexity

Title: Barracuda WAF Grub Password Complexity
Advisory ID: KL-001-2017-012
Publication Date: 2017.07.06
Publication URL: https://www.korelogic.com/Resources/Advisories/KL-001-2017-012.txt

1. Vulnerability Details

Affected Vendor: Barracuda
     Affected Product: Web Application Firewall V360
     Affected Version: Firmware v8.0.1.014
     Platform: Embedded Linux
     CWE Classification: CWE-259: Use of Hard-coded Password
     Impact: Privileged Access
     Attack vector: Password Cracking

2. Vulnerability Description

The grub password for all V360 virtual appliances is four
     characters in length and, as a result, may be trivially easy
     to crack.

3. Technical Description

# grep "pbkdf2" grub.cfg
     password_pbkdf2 root
grub.pbkdf2.sha512.10000.CA568B32B7E1F9A8ADC73224CD8AD1085B23FF5B69558D9
2E70961F4DEE3F5844CC4E3FC8FC4CBDB0941AC682B52DE64343F6847DF8AD480597B49E
A65F48B41.0314A76ADA4989857110B3177617AECF8D38F99E417DCE2B1A289AD5F48C0D
FC4969E76E10175399E8978DDE5DFD4B6E7EE808CD00CD6CA43512E92C2EB1D63A
     #

This hash cracks to: bimg

4. Mitigation and Remediation Recommendation

The vendor has patched this vulnerability in the lastest
     virtual appliance release.

5. Credit

This vulnerability was discovered by Matt Bergin (@thatguylevel)
     of KoreLogic, Inc. and Joshua Hardin.

6. Disclosure Timeline

2016.12.20 - KoreLogic sends vulnerability report and PoC to
                  Barracuda.
     2016.12.21 - Barracuda acknowledges receipt of the vulnerability
                  report.
     2017.01.09 - Barracuda informs KoreLogic that they are working
                  on remediation for this issue.
     2017.01.26 - Barracuda asks for additional time beyond the
                  standard 45 business day embargo to address this
                  and other issues reported by KoreLogic.
     2017.02.27 - 45 business days have elapsed since the issue was
                  reported.
     2017.04.10 - 75 business days have elapsed since the issue was
                  reported.
     2017.05.15 - 100 business days have elapsed since the issue was
                  reported.
     2017.05.24 - Barracuda updates KoreLogic on the status of the
                  remediation efforts.
     2017.06.13 - 120 business days have elapsed since the issue was
                  reported.
     2017.06.27 - Barracuda informs KoreLogic that the issue has
                  been fixed in the latest release of the WAF
                  virtual appliance.
     2017.07.06 - KoreLogic public disclosure.

7. Proof of Concept

See 3. Technical Description

The contents of this advisory are copyright(c) 2017
KoreLogic, Inc. and are licensed under a Creative Commons
Attribution Share-Alike 4.0 (United States) License:
http://creativecommons.org/licenses/by-sa/4.0/

KoreLogic, Inc. is a founder-owned and operated company with a
proven track record of providing security services to entities
ranging from Fortune 500 to small and mid-sized companies. We
are a highly skilled team of senior security consultants doing
by-hand security assessments for the most important networks in
the U.S. and around the world. We are also developers of various
tools and resources aimed at helping the security community.
https://www.korelogic.com/about-korelogic.html

Our public vulnerability disclosure policy is available at:
https://www.korelogic.com/KoreLogic-Public-Vulnerability-Disclosure-Poli
cy.v2.2.txt

-----BEGIN PGP SIGNATURE-----

iQFOBAEBCAA4FiEE+cSrtp5jQJEtra70TWWaLA4ZiQwFAllejYAaHGRpc2Nsb3N1
cmVzQGtvcmVsb2dpYy5jb20ACgkQTWWaLA4ZiQwRfwf/R2kx26aC8/RIE/FylPkw
+wzEWk3mksHB7Ddd/JJFOa6ZUZXnhrmAg9L+ZT54ImmUjmUyiPvFQrsUrcsW6VSV
3On8LILbMg4x1h+EJhj3NCFQAy/i/zoD/R20IFnrH7n4AoAh/8iyO1If4hTYdpz/
74d43NN407liBTWZ+PLwA2td9gegeUe5hHCzr59Y5bus44YZqSfY11ZXNBMDo3Rw
I7E+bNX+2E1GM+Lu9SGNgtH63oml8gr5wj3WQ0Rsvubb/62GD1P2MZTqw7wiNC27
3YnHWwoxuc6Ak3EG94/2jjupf/Qxv+W8zXFB/EtTJneuJbSWpdT/v+tyljhgloCB
KQ==
=r5iJ
-----END PGP SIGNATURE-----