PGP key for vulnerability reports

Mark Doliner mark at kingant.net
Sun Jan 12 04:20:34 EST 2014


Questions for Robert and Yves: Are you ok with us requesting CVE
numbers for these from our contact at Red Hat? Can we give credit to
you for finding these problems (in our ChangeLog, vulnerability
posting at https://pidgin.im/news/security/, and in our request for
CVE numbers)? If so, who should we credit? "Discovered by Sourcefire
VRT"? "Discovered by Yves Younan, Sourcefire VRT"?

Our fixes for all four issues are attached, encrypted for
rjohnson at sourcefire.com. I would like to request CVE numbers from our
contact at Red Hat on Mon, Tue or Wed. I would like to set an embargo
date of Jan 23, morning US pacific time. Does this sound ok to
everyone? I'm flexible.

VRT-2013-1001, VRT-2013-1002, and VRT-2013-1004: Tomasz and I both
confirmed that these bugs exist in Pidgin 2.10.7. Tomasz has committed
fixes for all of them to our private 2.x.y branch (revisions
ec15aa187aa0, 4c897372b5a4, and 6bd2dd10e5da, respectively).
Additionally, for VRT-2013-1001 (the Gadu-Gadu bug) Tomasz will commit
the fix to upstream libgadu after we've released our 2.10.8 publicly.

VRT-2013-1003 (exec'ing file:// links in Windows and elsewhere) is the
least straight-forward of the bunch. This bug was actually reported to
us in 2011 and we attempted to improve it then. We even got a CVE
number and added the buggy code "if uri_starts_with_file://file://
then show it in Explorer." See https://pidgin.im/news/security/?id=55
for details.

I think this is mostly only a problem on Windows. For most other
configurations we either open a file manager or prompt the user.

The current behavior is:
- If Windows and link is "file://file://blah" then open Explorer at
the file's location.
- Otherwise, if Windows then attempt to exec the file.
- Otherwise, if 'gnome-open' exists and GNOME_DESKTOP_SESSION_ID env
variable is set then open file browser at the file's location (on
Ubuntu 13.04, at least) using "gnome open /usr/bin/blah".
- Otherwise, if 'kfmclient' exists and KDE_FULL_SESSION and KDEDIR env
vars are set then prompt the user "are you sure you want to exec
/usr/bin/blah?" (on Ubuntu 13.04, at least) via Konqeror using
"kfmclient openURL /usr/bin/blah"
- Otherwise, if on OSX then "open /usr/bin/blah." I think this
sometimes execs the file.
- Otherwise, use user's configured web browser. Firefox prompts.
Chrome downloads the file (or would presumably display it if it's HTML
or image).

The ideal behavior that I would like to see is:
1. User clicks file:// link
2. Something shows the user a dialog "WARNING: Opening this is
dangerous. Are you sure you want to continue?" This dialog could be
Pidgin, or could be handled by the OS, desktop environment, file
manager, browser, etc.

I also think it's acceptable for us to pop open a file browser at the
file's location, but not as user-friendly and not any safer for the
user.

Disabling file:// links completely is reasonable, but I think it's
more extreme than need be.

I fixed the brokenness of our Windows link opening code in revision
b2571530fa8b. I'd prefer for us to wait until 3.0.0 to add an "are you
sure?" confirmation prompt.
-------------- next part --------------
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.4.12 (GNU/Linux)

hQIMAwTr6og6b8d8ARAApIqhppiRjLlS0GvSiRsVd6idjN8s7kupO9wtK2cbKiIz
uvFQxwAE6MCWmRVaCjUT0FZIYlDjl5heQ8ET1zANDqHLV6GirzPDzvvv0qGi/MoW
tVkEFcRJSc7xmQrFhaP33sjUeZoScM2MVAVm19TSeMz91rh8TpOOY3+mDNsQpGfV
uAOqMEFpefOOmh8ClYNLd+diEqeugJtRDUExdZtP6JScfgjd0MBh2O7iPjZOOdP9
uVKoU0aa9yTWe1DDNPBIZFb+rCywKZWBBr7frYrZg1NnO8On/sMD3AbIl+oPqply
KDOMZhY6GTwZXlt66uyhxv+9AfhITuUmCkGwcj1Jxk48a6FnXPxuLEqWOEaj/uFE
2twRFbnqIODRLwygxKJefu7mUluwZhrUX/cIAw5eNjGSz8sKsry86sizYHCa1zBn
fspfpAOCrLNPRqZSfz5vNzHzq1CZMkFluIBlnWSD1oKeYYLv8rt+nlARhjJ1oPAp
va5nIDwB60rKTL7cBWQcHINRaM3aVwtM151RNcp/YKOhKfvEeHW2q56uUe//YUMu
173DZwNfndXCCsgTYizTJZF8WEc2uL4pD7brcjmnbf1l6sWzaNXz+ATS2QMRnHlj
YxWkFk2KJNGIFOmvEXBjlvIthx/PKBQXwDdO4vD4E+Y86EHpn8w2dKVWfpQ+6OTS
6wFLnaB0yDB58D7tO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