vnc4 authentication bypass
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | vnc4 (Debian) |
Fix Released
|
Unknown
|
||
| | vnc4 (Ubuntu) |
Critical
|
Unassigned | ||
| | Dapper |
Critical
|
Unassigned | ||
| | Edgy |
Critical
|
Unassigned | ||
Bug Description
Binary package hint: vnc4server
Catalogued as Bug#395809: marked as done (vnc4 authentication bypass) in debian-bugs-rc
Apparently, this bug has been fixed in upstream versions of vnc4server (4.1.2), however the version in the Dapper repositories still contains the vulnerability.
dbott@thedrake:~$ sudo apt-cache show vnc4server
Package: vnc4server
Priority: optional
Section: universe/x11
Installed-Size: 2332
Maintainer: Ola Lundqvist <email address hidden>
Architecture: i386
Source: vnc4
Version: 4.1.1+xorg1.
Provides: vnc-server, x0vnc-server
Essentially, it allows the password to be bypassed in VNC server
(see my write-up here: http://
Links to references:
http://<email address hidden>
Some more information about this issue can be found in:
http://
http://
http://
http://
CVE References
| Changed in vnc4: | |
| importance: | Undecided → Critical |
| towsonu2003 (towsonu2003) wrote : | #1 |
| Kees Cook (kees) wrote : | #2 |
Thanks for this report! If anyone has time to package up a debdiff for Dapper and Edgy, I would be happy to review and publish the USN.
| Changed in vnc4: | |
| status: | Unknown → Fix Released |
| Changed in vnc4: | |
| importance: | Undecided → Critical |
| importance: | Undecided → Critical |
| William Grant (wgrant) wrote : | #3 |
I've backported the appropriate patch from 4.1.2 to the versions in Dapper and Edgy (which happen to be the same).
| Changed in vnc4: | |
| status: | Unconfirmed → In Progress |
| status: | Unconfirmed → In Progress |
| William Grant (wgrant) wrote : | #4 |
| William Grant (wgrant) wrote : | #5 |
I note that this vulnerability was released over 7 months ago now... It was reported (in bug 50913) a little over a month after it was discovered, and pitti posted a comment mentioning that a MOTU could take care of it if they wanted. Unfortunately, there's no proper universe security process, so nobody else really even saw the bug. I think this process needs to be rethought, so we don't have nasty flaws like this one around for such a long period of time.
| Kees Cook (kees) wrote : | #6 |
Hmm... an additional problem with vnc4 is that it doesn't build on edgy (or feisty), it seems. Were you able to build and test your debdiff on edgy? Perhaps the best approach would be to fix the build in feisty first, and then figure out what's needed to make it build edgy from there:
dpkg-checkbuild
| William Grant (wgrant) wrote : | #7 |
mesa-swrast-source seems to have been replaced by mesa-swx11-source, so I've updated the Build-Depends. Also killing the build were a few bashisms in debian/rules. I've fixed them, and tested it (I made the mistake of thinking that if the changes worked in Dapper, they'd work in Edgy too; of course, I overlooked the fact that it had never built in Edgy, sorry). It works, and isn't vulnerable.
| Kees Cook (kees) wrote : | #8 |
Looks great! Go ahead and upload a version to feisty, since your fix should work there as well.
| Changed in vnc4: | |
| status: | Unconfirmed → Fix Committed |
| status: | In Progress → Fix Committed |
| status: | In Progress → Fix Committed |
| William Grant (wgrant) wrote : | #9 |
Fix uploaded to Feisty.
| Changed in vnc4: | |
| status: | Fix Committed → Fix Released |
| William Grant (wgrant) wrote : | #10 |
The sparc version FTBFSed on Edgy and Feisty, due to a removed header being included in the included Xorg. Here's a debdiff which should fix the issue.
| Changed in vnc4: | |
| status: | Fix Committed → Fix Released |
| Kees Cook (kees) wrote : | #11 |
Great! Thanks for tracking down that sneaky bit.
Since the sparc FTBFS happened on the security buildd's, I needed to bump the version for the edgy-security debdiff. I'll upload that and get it building again. (I changed the edgy debdiff version to vnc4_4.
I went ahead and published the Dapper updates.
| Nicola Ferralis (feranick) wrote : | #12 |
This update seemed to have break vnc4server in Edgy, see bug #78282. It was working with version:
vnc4 4.1.1+xorg1.
| William Grant (wgrant) wrote : | #13 |
That is true, unfortunately. Not a use-case I tested, as I didn't expect an Edgy build to cause a /etc/X11/Xsession running with DISPLAY set to an Xvnc server to cause the process executing it to terminate, when running an xterm and the like on the Xvnc server ran fine. A rather odd problem, this is.
| Changed in vnc4: | |
| status: | Fix Committed → Fix Released |
| Peter Clifton (pcjc2) wrote : | #14 |
Is this still a vunerability in Fiesty?
Shouldn't Fiesty merge to the upstream version 4.1.2 which doesn't have the problem? Its very confusing to tell if vunerable or not if fixes are backported, but the version number is still based at the known broken 4.1.1.


cve: http:// www.cve. mitre.org/ cgi-bin/ cvename. cgi?name= 2006-2369 bugs.debian. org/cgi- bin/bugreport. cgi?bug= 395809
debian: http://