Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 136830
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Raphael Marichez <falco@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 136830 depends on: Show dependency tree
Bug 136830 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-06-14 15:43 0000
see DSA 1098-1 & DSA 1099-1
Michael Marek discovered that the Horde web application framework performs
insufficient input sanitising, which might lead to the injection of web
script code through cross-site scripting.

i don't know if there is a similar bug in the secret area, but there was no
movement since the DSA was emitted, so maybe not, so i have decided to fill it.

There is not any upstream official fixed version, but a debian patch is
avaible: (careful, the patch also concerns other bugfixes, included bug 127889
).
http://security.debian.org/pool/updates/main/h/horde3/horde3_3.0.4-4sarge4.diff.gz
http://security.debian.org/pool/updates/main/h/horde2/horde2_2.2.8-1sarge3.diff.gz

------- Comment #1 From Luca Longinotti 2006-06-15 08:44:53 0000 -------
I've made a patch, based off the Debian 3.1.1-3 patchset (where they fixed it)
and checked Horde's CVS too for confirmation.
Patch available at
http://overlays.gentoo.org/dev/chtekk/browser/horde/www-apps/horde/files/horde-3.1.1-xss.diff?rev=4&format=txt
Updated ebuild available at
http://overlays.gentoo.org/dev/chtekk/browser/horde/www-apps/horde/horde-3.1.1-r1.ebuild?format=raw
This also requires a minor change to the horde.eclass, since it patches
test.php, in the horde.eclass test.php is chmod'ed 000 before the patches are
applied, which leads epatch to fail with a permissions error. The simple
solution is just to invert the order: first apply all needed patches, then
chmod 000 test.php.
Updated eclass can be found at
http://overlays.gentoo.org/dev/chtekk/browser/horde/eclass/horde.eclass?format=raw
Best regards, CHTEKK.

------- Comment #2 From Luca Longinotti 2006-06-15 08:47:51 0000 -------
Added vapier (the maintainer) to CC.
Best regards, CHTEKK.

------- Comment #3 From Luca Longinotti 2006-06-15 11:43:28 0000 -------
Updated ebuild is in the tree as www-apps/horde-3.1.1-r1, ready to be marked
stable.
Best regards, CHTEKK.

------- Comment #4 From Sune Kloppenborg Jeppesen 2006-06-15 11:49:43 0000 -------
Thx Luca.

Arches please test and mark stable.

------- Comment #5 From Tobias Scherbaum 2006-06-15 12:08:58 0000 -------
ppc stable

------- Comment #6 From Gustavo Zacarias (RETIRED) 2006-06-16 15:08:46 0000 -------
sparc stable.

------- Comment #7 From René Nussbaumer 2006-06-17 02:18:47 0000 -------
stable on hppa

------- Comment #8 From Joshua Jackson 2006-06-19 21:55:19 0000 -------
x86 done

------- Comment #9 From Thomas Cort (RETIRED) 2006-06-20 10:29:17 0000 -------
alpha and amd64 stable.

------- Comment #10 From Raphael Marichez 2006-06-21 05:03:38 0000 -------
Heya it's done then, time to make a glsa decision. Find a voting booth and then
insert your ballot in the urn :

__|__
|   |
|___|

I vote a half-yes-ballot and i won't be worried if you vote no.

------- Comment #11 From Wolf Giesen (RETIRED) 2006-06-21 05:14:44 0000 -------
Unless we somehow agree to put a marker "web apps are generally unsafe"
somewhere prominent and change policy accordingly, I vote 'yes', too, without
enthusiasm, of course.

------- Comment #12 From Raphael Marichez 2006-06-21 05:16:43 0000 -------
> Unless we somehow agree to put a marker "web apps are generally unsafe"
> somewhere prominent and change policy accordingly, 

that sounds a rather good idea as for me

------- Comment #13 From Wolf Giesen (RETIRED) 2006-06-21 05:47:17 0000 -------
Alternate solution (I _guess_ that's how it was done with phpBB) is to hardmask
stuff that hits > n GLSAs per 3 months, where n needs to be determined.

------- Comment #14 From Stefan Cornelius (RETIRED) 2006-06-21 09:22:47 0000 -------
i hate XSS stuff - but we issued a GLSA for something like this in the past and
debian issued an advisory, too: So i tend to a very weak yes here

------- Comment #15 From Raphael Marichez 2006-06-22 04:17:11 0000 -------
let's have a glsa then :(

------- Comment #16 From Sune Kloppenborg Jeppesen 2006-06-28 21:56:21 0000 -------
GLSA 200606-28

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug