openSUSE Security Update: VUL-1: git-web xss ______________________________________________________________________________
Announcement ID: openSUSE-SU-2011:0705-1 Rating: low References: #698456 Cross-References: CVE-2011-2186 Affected Products: openSUSE 11.4 openSUSE 11.3 ______________________________________________________________________________
An update that fixes one vulnerability is now available.
Description:
Users with commit access to repos served by git-web could cause cross site scripting (XSS) issues with XML files (CVE-2011-2186).
Due to a differently formatted /etc/mime.types openSUSE is not affected by default.
This update nevertheless turns on git-web's XSS protection mechanism to avoid similar problems in the future.
To turn XSS protection off again put the following line in /etc/gitweb.conf:
$prevent_xss = 0;
Patch Instructions:
To install this openSUSE Security Update use YaST online_update. Alternatively you can run the command listed for your product:
- openSUSE 11.4:
zypper in -t patch git-web-4756
- openSUSE 11.3:
zypper in -t patch git-web-4756
To bring your system up-to-date, use "zypper patch".
Package List:
- openSUSE 11.4 (i586 x86_64):
git-web-1.7.3.4-4.5.1
- openSUSE 11.3 (i586 x86_64):
git-web-1.7.1-2.5.1
References:
http://support.novell.com/security/cve/CVE-2011-2186.html https://bugzilla.novell.com/698456