On The Insider: Grief Counselor Analyzes Paris' Eulogy
BNET Business Network:
BNET
TechRepublic
ZDNet

By Joris Evers
Posted on ZDNet News: Nov 30, 2005 1:45:00 AM

A type of security flaw in Perl applications that experts thought could lead only to a denial-of-service attack is now believed to be much more serious.

Dyad Security on Tuesday warned of a so-called "format string vulnerability" in Webmin, a Web-based administration utility written in Perl. An attacker could gain complete control over a server running the vulnerable software by exploiting this "new class" of flaw, the security research company said in an advisory.

"If remote code execution is successful, it would lead to a full remote root compromise in a standard configuration," according to the advisory.

Format string vulnerabilities are not new, but experts previously thought such flaws in applications written in Perl could not be used to remotely run code on a target system, experts from Symantec and eEye Digital Security said.

Such attacks have been possible via format string bugs if the application in question was coded in a lower-level programming language, such as C, according to Symantec.

"This is potentially the first in a new breed of format string vulnerabilities," said Oliver Friedrichs, the senior manager at Symantec Security Response. "Previously this was thought to be just a denial-of-service attack. Now that it is found to be exploitable, that increases the value substantially. Attackers are certainly going to start looking for them."

Perl, a popular scripting language, is widely used for Web applications, often on servers that run the Linux operating system. With the security of operating systems improving, attackers have been looking at Web applications and other software as a way to break into systems.

"Given the focus on Web applications in general, this format string vulnerability exploitability adds another tool to the chest of attackers," said Steve Manzuik, the security product manager at eEye in Aliso Viejo, Calif. "Web servers are a good target because of a lot of Perl scripts would be available to anonymous, remote users."

Symantec and eEye have not been able to independently validate the claims by Dyad, which are backed up by security vendor Immunity. Symantec believes the claims to be true, while eEye's Manzuik isn't sure yet. "I normally take it with a grain of salt until I actually see some proof. If it turns out to be legitimate, it would be a very serious issue," he said.

To protect their systems, users of Webmin first and foremost should upgrade to the latest version of the utility, Friedrichs said. "In the longer term, you want to make sure that you are using format strings correctly in your applications," he said.

Format strings are the way programmers specify how output should be formatted in an application. A flaw occurs when a programmer uses the strings incorrectly. That could enable an attacker to read and write to memory on the system running the application, resulting in the execution of code of the attacker's choice.

It is too early to tell what the full impact of the broader scope of the format string vulnerabilities will be, Friedrichs said. "The concerning part of this is that this is (Webmin flaw) really the first in a potential growing number of format string vulnerabilities that we may see," he said.

One way that the problem may be addressed is by Perl developers, who may address the issue of format string vulnerabilities in Perl itself, Friedrichs said.

SponsoredWhite Papers, Webcasts, and Downloads

  • Talkback
  • Most Recent of 30 Talkback(s)
Not
Perl is an example of a something that has exceeded it's original design limits. Visual Basic is too convaluted? Having so many ways to do the same thing is Perl is not a strength but rather an exampl... (Read the rest)
Posted by: balsover Posted on: 12/01/05 You are currently: a Guest | | Terms of Use
So is this a flaw...  toadlife | 11/29/05
nope - and here are the details  GDF | 11/30/05
There is nothing wrong with your example  balsover | 11/30/05
It *could* be webmin  diggyk@... | 11/30/05
You are HALF-RIGHT -
You are only HALF right - THIS IS NOT A PERL PROBLEM.
 jrbeaman | 11/30/05
So is this flaw...  toadlife | 11/29/05
Deja vu  Mr. Big | 11/29/05
Except for the number of posts  Boot_Agnostic | 11/30/05
Sounds more like a webmin flaw  johndoe445566 | 11/30/05
Just like PHPNuke...  Expatriate US Geek | 11/30/05
Quoth Barbie: "Web dev is tough!"  Justin James | 11/30/05
Programming Practices  Yensi717 | 11/30/05
EXACTAMUNDO!  jrbeaman | 11/30/05
Required Reading  springerj | 11/30/05
thankfully, perl can force you to validate your data  spr0ck3t | 12/01/05
Maybe tough but not impossible  rein8 | 12/01/05
Maybe tough but not impossible  rein8 | 12/01/05
Open Source Zealots Dowplay Danger Of Perl Flaw On ZDNet Talkbacks  Rokstar83 | 11/30/05
If you find it offensive...  balsover | 11/30/05
Maybe I didn't make myself clear  Rokstar83 | 11/30/05
Programming not a religion?  jrbeaman | 11/30/05
if that is your opinion then perhaps you are a good example  balsover | 12/01/05
ZDNet didn't write that title  toadlife | 11/30/05
Well in that case...  Rokstar83 | 11/30/05
(nt)I've reported it to ZDNet  toadlife | 11/30/05
Wow!  Loverock Davidson | 11/30/05
On the whole...  John L. Ries | 11/30/05
"I never thought Perl a very good language" ???  jrbeaman | 11/30/05
Not  balsover | 12/01/05
use taint; could have prevented this. webmin is horrible  spr0ck3t | 11/30/05

What do you think?

advertisement
advertisement

White Papers, Webcasts, and Downloads

Meet Doc

  • Here to help you with your Document Management Needs
  • Doc is an enigma. Born to a Russian ballerina and a German electrical engineer, he grew up in various locations in the United States. He’s seen the insides of more brands, versions, and generations of printer and printer-related hardware than almost anyone.
  • To learn more about this mysterious figure check out his blog on ZDNet and his Workspace on TechRepublic. You’ll be glad you did.
  • Produced by
    ZDNet and
advertisement
Click Here