Secunia Logo
 
Mercurial Multiple Vulnerabilities
Secunia Advisory: SA31108
Release Date: 2008-07-16
Last Update: 2008-10-01
Popularity: 1,572 views

Critical:
Less critical
Impact: Security Bypass
Manipulation of data
Where: From remote
Solution Status: Vendor Patch

Software:Mercurial 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-2942
CVE-2008-4297


Description:
Some security issues have been reported in Mercurial, which can be exploited by malicious people to manipulate certain data or bypass certain security restrictions.

1) A security issue is caused due to an error within the "applydiff()" function in mercurial/patch.py. This can be exploited to manipulate arbitrary files placed outside the repository via directory traversal attacks.

Successful exploitation requires that a user is tricked into importing a malicious patch.

2) A security issue is caused due to hgweb not correctly honoring the "allowpull" setting, which can be exploited to e.g. pull from restricted repositories.

The security issue are reported in versions prior to 1.0.2.

Solution:
Update to version 1.0.2.

Provided and/or discovered by:
1) Gentoo credits Jakub Wilk.
2) Reported by the vendor.

Changelog:
2008-09-18: Added vulnerability #2. Updated "Solution" section. Increased "Criticality".
2008-10-01: Added CVE reference.

Original Advisory:
http://www.selenic.com/mercurial/wiki...b8adb3420a77d92617e06590055bd8952e02b

1) http://bugs.gentoo.org/show_bug.cgi?id=230193


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. IBM AIX update for sendmail // 65 views
2. Adobe Acrobat/Reader Multiple Vulnerabilities // 34 views
3. Checkpoint VPN-1 Information Disclosure Vulnerability // 33 views
4. Sun Java JDK / JRE Multiple Vulnerabilities // 29 views
5. Apple iPhone / iPod touch Multiple Vulnerabilities // 26 views
6. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 24 views
7. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 24 views
8. Mozilla Firefox 3 Multiple Vulnerabilities // 23 views
9. Microsoft XML Core Services Multiple Vulnerabilities // 21 views
10. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 20 views