diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /metadata/glsa/glsa-200409-05.xml |
reinit the tree, so we can have metadata
Diffstat (limited to 'metadata/glsa/glsa-200409-05.xml')
-rw-r--r-- | metadata/glsa/glsa-200409-05.xml | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-200409-05.xml b/metadata/glsa/glsa-200409-05.xml new file mode 100644 index 000000000000..8cbdaacbefd3 --- /dev/null +++ b/metadata/glsa/glsa-200409-05.xml @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> +<glsa id="200409-05"> + <title>Gallery: Arbitrary command execution</title> + <synopsis> + The Gallery image upload code contains a temporary file handling + vulnerability which could lead to execution of arbitrary commands. + </synopsis> + <product type="ebuild">Gallery</product> + <announced>2004-09-02</announced> + <revised>2006-05-22: 02</revised> + <bug>60742</bug> + <access>remote</access> + <affected> + <package name="www-apps/gallery" auto="yes" arch="*"> + <unaffected range="ge">1.4.4_p2</unaffected> + <vulnerable range="lt">1.4.4_p2</vulnerable> + </package> + </affected> + <background> + <p> + Gallery is a PHP script for maintaining online photo albums. + </p> + </background> + <description> + <p> + The upload handling code in Gallery places uploaded files in a + temporary directory. After 30 seconds, these files are deleted if they + are not valid images. However, since the file exists for 30 seconds, a + carefully crafted script could be initiated by the remote attacker + during this 30 second timeout. Note that the temporary directory has to + be located inside the webroot and an attacker needs to have upload + rights either as an authenticated user or via "EVERYBODY". + </p> + </description> + <impact type="normal"> + <p> + An attacker could run arbitrary code as the user running PHP. + </p> + </impact> + <workaround> + <p> + There are several workarounds to this vulnerability: + </p> + <ul> + <li>Make sure that your temporary directory is not contained in the + webroot; by default it is located outside the webroot.</li> + <li>Disable upload rights to all albums for "EVERYBODY"; upload is + disabled by default.</li> + <li>Disable debug and dev mode; these settings are disabled by + default.</li> + <li>Disable allow_url_fopen in php.ini.</li> + </ul> + </workaround> + <resolution> + <p> + All Gallery users should upgrade to the latest version: + </p> + <code> + # emerge sync + + # emerge -pv ">=www-apps/gallery-1.4.4_p2" + # emerge ">=www-apps/gallery-1.4.4_p2"</code> + </resolution> + <references> + <uri link="http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0757.html">Full Disclosure Announcement</uri> + <uri link="http://gallery.menalto.com/modules.php?op=modload&name=News&file=article&sid=134&mode=thread&order=0&thold=0">Gallery Announcement</uri> + <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1466">CVE-2004-1466</uri> + </references> + <metadata tag="requester" timestamp="2004-08-22T09:02:45Z"> + jaervosz + </metadata> + <metadata tag="submitter" timestamp="2004-08-25T23:33:36Z"> + chriswhite + </metadata> +</glsa> |