The Register® — Biting the hand that feeds IT

Feeds

Backdoor root login found in Barracuda gear - and Barracuda is OK with this

Hidden accounts 'needed for remote tech support'

Agentless Backup is Not a Myth

Multiple Barracuda Networks products feature an undocumented backdoor, leaving widely deployed data centre kit vulnerable to hijacking.

Secret privileged user accounts were found in various Barracuda appliances, including its flagship Spam and Virus Firewall, Web Application Firewall, Web Filter, SSL VPN, and other gear. The accounts cannot be disabled, are hard-wired into the equipment's operating system, and can be accessed remotely via SSH or the local terminal.

Once logged into a vulnerable machine, hackers can run programs and take over the networking device. The accounts, which were found in /etc/passwd and /etc/shadow files in the equipment, use weak passwords that are easy to crack, security researchers claimed.

Each appliance uses a firewall to block access to the SSH server, and thus the hidden root accounts, unless the connection originates from an IP address in the private network ranges of 192.168.200.0/24 and 192.168.10.0/24. The firewall rules also allow in network traffic from public IP addresses in the 205.158.110.0/24 and 216.129.105.0/24 ranges - some of which are controlled by Barracuda, but the others are not.

Therefore a successful compromise would need to be launched from one of these IP addresses at a reachable, vulnerable Barracuda device. Network administrators may want to firewall off port 22 completely.

The oversight is tricky to exploit and was discovered by SEC Consult of Austria, which published an advisory on the issue today.

"An attacker is able to access all mentioned Barracuda appliances through weak passwords and gain shell access to execute arbitrary code on the appliances, e.g. in order to install further backdoors, change configuration or take over the system," explained Johannes Greil of SEC Consult.

"Those attacks are possible from within the two large IP address ranges from the Internet, and two private IP address ranges. One hacked system or malicious company in those networks will allow an attacker to take over all externally reachable Barracuda appliances worldwide."

Barracuda acknowledged the cock-up but downplayed the risk. It also released a software update called "Security Definition 2.0.5", which tightened up its account security but does not remove the hidden root, remote and cluster users because they are needed to administer remote support for customers.

In a related advisory, SEC Consult said Barracuda VPN kit allowed an "unauthenticated attacker to download configuration files and database dumps".

Steve Pao, VP for Product Management at Barracuda Networks, told El Reg that the undocumented superuser accounts were established for support purposes but admitted the setup was flawed and promised to pay SEC Consulting an unspecified bounty for finding the vulnerability.

"The specific discovery was related to access from the default limited set of IP addresses used by the system to initiate remote support tunnels to Barracuda Technical Support," Pao told El Reg in a statement.  "We have released a security definition to existing Barracuda Networks appliances that minimises potential attack vectors.

"Individual customers should contact Barracuda Networks Technical Support if they need more information. As we do with all issues reported through our 'Bug Bounty' programme, we have acknowledged the SEC Consulting's reporting of the issues in both the release notes with our security definition and on the Tech Alerts section of our Web site."

Stefan Viehböck of SEC Consult led the research into the vulnerabilities. Barracuda has published alerts covering both bugs on its website here. ®

Steps to Take Before Choosing a Business Continuity Partner

@Eadon (was:Re: ANY closed source software might have secret back doors)

Eadon, have you ever read Ken Thompson's ACM paper "Reflections on Trusting Trust" from 1984? It's a good read, and the concepts haven't changed in the intervening quarter century. See:

http://cm.bell-labs.com/who/ken/trust.html

Basically, who built your initial, basic binary tool chain? It wasn't you, that's for certain ... and it's trivially easy for me to insert code into the assembler and/or linker to include back doors in any given executable. This works even when that code isn't actually in the source fed into the compiler. It even works if you re-compile the assembler & linker from "inspected, clean" source.

In other words, if you haven't inspected the basic tool chain at a ones & zeros level, and then read and understood every single line of the source in your system before compiling it, you're being just as faithful as anyone running Redmond or Cupertino.

So get off your fucking high-horse, youngster. You know not of what you speak.

16
1
Anonymous Coward

Re: it was a joke

Was it? It must have stopped being funny some time between when you wrote it and when I read it.

12
3

Security by obscurity

Not the best way, and why do the "customers" have to find out that this route exists, even if it is nigh on impossible to get into, from people other than Barracuda?

Bad form in my opinion and would make me trust them a lot less.

9
0

More from The Register

 breaking news
Number of cops abusing Police National Computer access on the rise
Only a telegram from the Queen can get you off it
 breaking news
NSA PRISM snoop-gate: Won't someone think of the children, wails Apple
10,000 things probed, mostly about missing kids, Alzheimer patients, we're told
Flash flaw potentially makes every webcam or laptop a PEEPHOLE
But it's a Google problem - Chrome only, insists Adobe
Internet fraud still stings suckers
Australians twice as gullible as Americans
 breaking news
NSA PRISM-gate: Relax, GCHQ spooks 'keep us safe', says Cameron
Whatever they are up to, it's all above board, we're told
 breaking news
Yahoo! joins! rivals! in! PRISM! data! request! admission!
Keep calm and carry on using American tech firms, folks
PRISM snitch claims NSA hacked Chinese targets since 2009
Snowden suddenly looks safer in Hong Kong after revelations
 breaking news
US chief spook: Look, we only want to spy on 6.66 BEELLLION of you
Americans assured they are not in the NSA's sights
Speech-to-text drives motorists to distraction
Will talking to you mean I crash into that car up ahead, Siri?
DHS warns of vulns in hospital medical equipment
Has your doctor's anasthesia machine been hacked?