To print: Click here or Select File and then Print from your browser's menu
This story was printed from silicon.com, located at http://www.silicon.com/
Story URL: http://software.silicon.com/os/0,39024651,39120821,00.htm
Security flaws could corrupt open source databases
Is this part of the trend of security attacks on Linux?
By Robert Lemos
Published: Thursday 20 May 2004
Flaws in two popular source code database applications could allow attackers to access and corrupt open-source software projects, according to a security researcher.
One vulnerability affects the Concurrent Versions System (CVS), an application used by many developers to store program code. The other flaw affects a newer, less widely used system known as Subversion, said Stefan Esser, the researcher who discovered the security holes.
The CVS software, in particular, is run by many large open-source projects to create servers that maintain the versions of a program under development. Groups developing the Gnome and KDE Linux desktops, the Apache web server and large Linux distributions, are among those that use servers with the source code databases.
These groups were notified of the security issues earlier in May and have already installed patches, said Esser, who is the chief security and technology officer at e-Matters, a German software company.
Esser said in an email interview: "The really big projects usually use CVS...servers just as a distribution channel. Lots of smaller open-source projects are, however, running their development on vulnerable servers," he added.
The flaw in CVS, which is used more widely than Subversion, affects all versions of the software released before 19 May, according to an alert sent out by Esser. The vulnerability, technically known as a "heap overflow," occurs because data from the system's users is not vetted carefully enough. The CVS Project and major Linux and BSD distributions have posted advisories on the issue.
The hole in Subversion, a rewrite of the CVS application, is much easier to take advantage of, Esser said. That vulnerability is caused by an error in the way the code parses dates. It could be exploited to allow "remote code execution on Subversion servers and therefore could lead to a repository compromise," according to Esser's advisory.
"The CVS flaw is several levels harder to abuse," Esser said.
The source-code database holes aren't the first to cause developers some worry. Last year, a vulnerability in CVS software opened up development servers to attacks by allowing an intruder to raise his or her level of privilege. The flaw led to some compromises.
Attackers have increasingly started to focus on software that runs on Linux, the operating system most often used with CVS. In March and April, Linux and Solaris servers at academic supercomputing centres were struck by unknown intruders.
Robert Lemos writes for CNET News.com
Copyright © 2008 CBS Interactive Limited. All rights reserved. Top of page