1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200601-13 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Low |
8 |
Title: Gallery: Cross-site scripting vulnerability |
9 |
Date: January 26, 2006 |
10 |
Bugs: #119590 |
11 |
ID: 200601-13 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
Gallery is possibly vulnerable to a cross-site scripting attack that |
19 |
could allow arbitrary JavaScript code execution. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
Gallery is a web application written in PHP which is used to organize |
25 |
and publish photo albums. It allows multiple users to build and |
26 |
maintain their own albums. It also supports the mirroring of images on |
27 |
other servers. |
28 |
|
29 |
Affected packages |
30 |
================= |
31 |
|
32 |
------------------------------------------------------------------- |
33 |
Package / Vulnerable / Unaffected |
34 |
------------------------------------------------------------------- |
35 |
1 www-apps/gallery < 1.5.2 >= 1.5.2 |
36 |
|
37 |
Description |
38 |
=========== |
39 |
|
40 |
Peter Schumacher discovered that Gallery fails to sanitize the fullname |
41 |
set by users, possibly leading to a cross-site scripting vulnerability. |
42 |
|
43 |
Impact |
44 |
====== |
45 |
|
46 |
By setting a specially crafted fullname, an attacker can inject and |
47 |
execute script code in the victim's browser window and potentially |
48 |
compromise the user's gallery. |
49 |
|
50 |
Workaround |
51 |
========== |
52 |
|
53 |
There is no known workaround at this time. |
54 |
|
55 |
Resolution |
56 |
========== |
57 |
|
58 |
All Gallery users should upgrade to the latest version: |
59 |
|
60 |
# emerge --sync |
61 |
# emerge --ask --oneshot --verbose ">=www-apps/gallery-1.5.2" |
62 |
|
63 |
Note: Users with the vhosts USE flag set should manually use |
64 |
webapp-config to finalize the update. |
65 |
|
66 |
References |
67 |
========== |
68 |
|
69 |
[ 1 ] Gallery Announcement |
70 |
http://gallery.menalto.com/page/gallery_1_5_2_release |
71 |
|
72 |
Availability |
73 |
============ |
74 |
|
75 |
This GLSA and any updates to it are available for viewing at |
76 |
the Gentoo Security Website: |
77 |
|
78 |
http://security.gentoo.org/glsa/glsa-200601-13.xml |
79 |
|
80 |
Concerns? |
81 |
========= |
82 |
|
83 |
Security is a primary focus of Gentoo Linux and ensuring the |
84 |
confidentiality and security of our users machines is of utmost |
85 |
importance to us. Any security concerns should be addressed to |
86 |
security@g.o or alternatively, you may file a bug at |
87 |
http://bugs.gentoo.org. |
88 |
|
89 |
License |
90 |
======= |
91 |
|
92 |
Copyright 2006 Gentoo Foundation, Inc; referenced text |
93 |
belongs to its owner(s). |
94 |
|
95 |
The contents of this document are licensed under the |
96 |
Creative Commons - Attribution / Share Alike license. |
97 |
|
98 |
http://creativecommons.org/licenses/by-sa/2.0 |