Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

CVS flaw has Linux vendors rushing out patches

Flaw in program for collaborating on app dev could allow unauthorized access to code

By Matthew  Broersma, Techworld
May 21, 2004
 

Linux vendors have rushed to distribute patches for a critical flaw in CVS, a widely used program for collaborating on software development, that could allow a malicious user unauthorized access to development code.

Free IT resource

Open Source Business Conference (OSBC) May 22-23, 2007

Sponsored by OSBC

Free IT resource

Virtualization Insights from Top Experts - Learn how virtualization gets real!

Sponsored by Dell

By Friday FreeBSD all the major Linux distributors, including Red Hat Inc., Debian, Suse Linux AG, MandrakeSoft SA, Slackware and Gentoo Software, had all issued patches for the versions of CVS (Concurrent Versioning System) packaged to run on their distributions, following an advisory published earlier this week by German security firm E-Matters. The firm also warned of a similar, more easily exploitable flaw in Subversion, a newer and less popular revision of CVS.

CVS allows large numbers of contributors to collaborate on software development projects, letting them keep their own modifications up to date with those of other developers, stored on a server. The flaw found by E-Matters allows a user to exploit a "heap overflow" that could allow them to execute arbitrary code on the CVS server, according to Stefan Esser, chief security and technology officer at E-Matters. "This could allow a repository compromise," Esser wrote in the advisory.

"A successful exploit would give access to the system with the privileges of the user running CVS, who obviously has access to all the code," said Thomas Kristensen, CTO of security firm Secunia. "A developer would often connect to CVS before he starts working on a piece of code, and synchronize with what is held on the server. If that code has been (maliciously) modified he could end up working with modified code."

Kristensen said that the flaw appears to require the attacker to have a valid user account, so that the projects most at risk are those which allow anonymous access.

The flaw was discovered during an audit of the CVS source code, Esser said, and is caused by a bug in the way certain properties of incoming data are checked. E-Matters recommended users update to the patched version immediately.

E-Matters informed major users of CVS, including the major Linux distributions, Gnome and KDE desktop software projects and the Apache Web server, before disclosing the flaw publicly, giving them time to patch their systems. The CVS developers themselves were informed at the beginning of this month, and immediately came up with a fix, Esser said; later this patch was found to break compatibility with some versions of CVS, so a second patch was issued last week, followed by public disclosure this week.

Last autumn, in the space of four months, attackers successfully compromised the security around the Linux kernel and the Debian, Gentoo and GNU projects. In December, one of Gentoo's servers for making source code available to users was compromised. In November, an attacker compromised a legitimate Linux kernel contributor's machine and used it to submit compromised code. In the compromises of the GNU and Debian development servers, attackers discovered the username and password of a legitimate user, and then exploited a recently-discovered Linux flaw to gain the privileges of the system owner.

Despite such breaches, the open-source development method is not necessarily less secure than proprietary development within the confines of a single company, said Secunia's Kristensen. "It obviously does give you a different kind of exposure, but there are also probably more eyes looking critically at how the source code is modified," he said. "In a company, if an employee makes an accidental or deliberate mistake that affects the product's security, it's unlikely there will be methods in place to verify what that trusted employee does."





 


 
Techworld is an InfoWorld affiliate.
 

TOP NEWS:


»  You don't know tech: The InfoWorld news quiz
Match your weekly tech news wits against our snarky quiz master

»  Microsoft: Don't misunderstand UAC, other Vista features
A Microsoft posting attempted to explain the most 'misunderstood' features of Vista: UAC, Image Management, Display Driver Model, Windows Search, and 64-bit architecture

»  Compuware 2.0 set as rebirth of company
Looking to revitalize, the vendor will evaluate products and focus on business value

»  Google overtakes Yahoo as most-visited U.S. Web site
For the first time, Google has knocked Yahoo off the top spot of the most popular Web site in the country

»  Top 10: HP-EDS buy, Icahn strikes again, China quakes
This week's roundup of the top IT news stories includes the continuing saga of MS-Yahoo, HP's big buy, Vista's developer problem, 3G iPhone rumors, and more

»  ObjectWave's Swan swims for RIA connectivity
Rich Internet application platform enables simpler connectivity between AJAX interfaces and server-side code




Virtualization: A Step by Step Approach to Success
Your virtual machines can be up and running in a matter of minutes. HP and Citrix have integrated XenServer with HP ProLiant servers and management tools, powered by hardware-assisted Intel Virtualization Technology to enable high- performance, cost-savings solutions for server consolidation and disaster recovery. Sponsor: HP

»  Click here to view this Webcast
  Storage is big, and getting bigger
The only certainty is that your requirement for storage will never be satisfied. While you clean out space and authorize POs, you might consider another alternative: outsourcing. The best way to deal with storage might be to let someone else deal with it. Sponsored by SGI

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 

FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS  IT EXEC-CONNECT   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist