DSA-138-1 gallery -- remote exploit

Related Vulnerabilities: CVE-2002-1412  

A problem was found in gallery (a web-based photo album toolkit): it was possible to pass in the GALLERY_BASEDIR variable remotely. This made it possible to execute commands under the uid of web-server. This has been fixed in version 1.2.5-7 of the Debian package and upstream version 1.3.1.

Debian Security Advisory

DSA-138-1 gallery -- remote exploit

Date Reported:
01 Aug 2002
Affected Packages:
gallery
Vulnerable:
Yes
Security database references:
In the Bugtraq database (at SecurityFocus): BugTraq ID 5375.
In Mitre's CVE dictionary: CVE-2002-1412.
More information:

A problem was found in gallery (a web-based photo album toolkit): it was possible to pass in the GALLERY_BASEDIR variable remotely. This made it possible to execute commands under the uid of web-server.

This has been fixed in version 1.2.5-7 of the Debian package and upstream version 1.3.1.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Source:
http://security.debian.org/pool/updates/main/g/gallery/gallery_1.2.5-7.woody.0.dsc
http://security.debian.org/pool/updates/main/g/gallery/gallery_1.2.5.orig.tar.gz
http://security.debian.org/pool/updates/main/g/gallery/gallery_1.2.5-7.woody.0.diff.gz
Architecture-independent component:
http://security.debian.org/pool/updates/main/g/gallery/gallery_1.2.5-7.woody.0_all.deb

MD5 checksums of the listed files are available in the original advisory.