Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208349 (CVE-2008-0504) - www-apps/coppermine < 1.4.15 multiple vulnerabilities (CVE-2008-{0504,0505,0506})
Summary: www-apps/coppermine < 1.4.15 multiple vulnerabilities (CVE-2008-{0504,0505,05...
Status: RESOLVED FIXED
Alias: CVE-2008-0504
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Security
URL: http://secunia.com/advisories/28682/
Whiteboard: ~2 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-31 21:11 UTC by Pierre-Yves Rofes (RETIRED)
Modified: 2008-08-06 18:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Yves Rofes (RETIRED) gentoo-dev 2008-01-31 21:11:12 UTC
Some vulnerabilities have been reported in Coppermine Photo Gallery, which can be exploited by malicious people to conduct cross-site scripting attacks or to compromise a vulnerable system and by malicious users to conduct SQL injection attacks.

1) Input passed to unspecified parameters in util.php and reviewcom.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL commands.

Successful exploitation requires valid administrator credentials.

2) Input passed to the "quality", "angle" and "clipval" parameters in include/imageObjectIM.class.php is not properly sanitised before being used to execute commands. This can be exploited to execute arbitrary commands via shell escape characters contained within the affected parameters.

Successful exploitation requires that ImageMagick is used to process images.

3) Input passed to the "h" and "t" parameters in docs/showdoc.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerabilities are reported in version 1.4.14. Prior versions may also be affected.

Solution:
Update to version 1.4.15.
Comment 1 Pierre-Yves Rofes (RETIRED) gentoo-dev 2008-01-31 21:12:35 UTC
web-apps, please bump as needed.
Comment 2 Gunnar Wrobel (RETIRED) gentoo-dev 2008-02-15 10:18:42 UTC
www-apps/coppermine-1.4.16 is in the tree. unstable on all archs. Removed insecure versions. webapps done.
Comment 3 Pierre-Yves Rofes (RETIRED) gentoo-dev 2008-02-15 10:53:57 UTC
thanks, closing.