On TV.com: ANGELINA JOLIE photos
BNET Business Network:
BNET
TechRepublic
ZDNet

By Robert Lemos
Posted on ZDNet News: May 19, 2004 8:42:00 PM

Flaws in two popular source code repository applications could allow attackers to access and corrupt open-source software projects, a security researcher said Wednesday.

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.


Get Up to Speed on...
Open source
Get the latest headlines and
company-specific news in our
expanded GUTS section.


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.

"The really big projects usually use CVS...servers just as a distribution channel," Esser stated in an e-mail interview, noting that the servers used by major developers to hold code are generally accessible only through a secured connection. "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 May 19, 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.

Audiocast
arrow Securer software--open or proprietary?
play audio

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 centers were struck by unknown intruders.

The Samba Project, which maintains file server software that integrates with Microsoft Windows networks, uses Subversion. However, the project's developers were warned about the security issue before it was made public, Esser noted.


Get Up to Speed on...
Enterprise security
Get the latest headlines and
company-specific news in our
expanded GUTS section.


(The Subversion system attempts to improve the usability and security of the CVS application.)

Derek Price, the CVS release manager, and Esser sent a vulnerability notification to the members of Vendor-Sec, a limited community of major open-source projects that share security information. Esser also contacted other big users of the application, including SourceForge, XFree86, the Free Software Foundation and The PHP Group.

"For this particular issue, the release was synchronized with other vendors," Price said. "I'm sure there are other groups out there. That's what my announcement was for."

The Debian Project, a major Linux distribution, released a patch for the CVS software on Wednesday, in an advisory timed to publish simultaneously with e-Matter's alerts.

Martin Schulze, a developer and member of the Debian Project, said he thought the threat of the CVS flaw should be limited.

"The impact should be little to other projects, if they are applying the patch, which is pretty simple," Schulze said. "If they don't, it is possible to exploit the CVS server and gain access to the machine with the (access level of the server)--that should only be a regular user, not root."

  • Talkback
  • Most Recent of 44 Talkback(s)
Not to mention
This flaw doesnt directly affect the average linux user but the developers. (Read the rest)
Posted by: Suicida| Posted on: 05/22/04 You are currently: Logged In as: a Guest  | Login | Terms of Use
patchs patchs everywhere and not a thing to drink  ickusslime@... | 05/19/04
the application is the problem  V Sanders | 05/19/04
Big deal..  FreeBSD | 05/19/04
Big deal..  seosamh_z | 05/19/04
Sure! Let's use  michael-t | 05/19/04
Sure! Let's use  seosamh_z | 05/20/04
Cluelessness  michael-t | 05/20/04
...  FreeBSD | 05/20/04
WTF?  Suicida| | 05/22/04
Oh yeah  ickusslime@... | 05/19/04
haha  V Sanders | 05/19/04
did you read the article???  ickusslime@... | 05/19/04
R D B M S  dr_who@... | 05/19/04
Good choice!  michael-t | 05/19/04
Microsoft is secure? Just look at this.  thepubba | 05/20/04
you're a fool!  ryusen | 05/20/04
Hey!  Suicida| | 05/22/04
RE:haha  MG_z | 05/21/04
Another half-wit ZDNet/CNet writer  FederalistPaperBoy | 05/19/04
half-wit ZDNet/CNet writer  Nationalist | 05/19/04
half-wit ZDNet/CNet writer  Nationalist | 05/19/04
Re: Another half-wit ZDNet/CNet writer  mmarietta | 05/20/04
slight of hand  kgosnell@... | 05/19/04
How is this being "open"???  No_Ax_to_Grind | 05/20/04
Microsoft has a lon history of denying security problems  B.O.F.H. | 05/20/04
Apparently, so does open source.  No_Ax_to_Grind | 05/20/04
Here is the timeline  B.O.F.H. | 05/20/04
Not very informative at all.  No_Ax_to_Grind | 05/20/04
Check the release dates and the fix dates.  B.O.F.H. | 05/20/04
Thanks, it was as I suspected.  No_Ax_to_Grind | 05/20/04
Bug reports have to be verified and reproduced  B.O.F.H. | 05/20/04
Wrong  MG_z | 05/21/04
Da Einstein  trojanhorse | 05/20/04
NWOR  No_Ax_to_Grind | 05/20/04
Please excuse my ignorance, but..  toadlife | 05/20/04
NWOR= Not Worthy Of Reply.  No_Ax_to_Grind | 05/20/04
(NT)Thanks - and I agree  toadlife | 05/20/04
Re: No_Ax_to_Grind  MG_z | 05/21/04
Who is the article about boys and girls?  No_Ax_to_Grind | 05/20/04
I already replied, but...  MG_z | 05/21/04
So what is Secure on the Net these days ???  webgecko | 05/20/04
Unlike Microsoft, Linux fixes fast  CobraA1 | 05/21/04
Not to mention  Suicida| | 05/22/04
Nothing nice happening to either side  FilledOut | 05/21/04

What do you think?