J-Security Center

Title: Gallery Insecure File Permissions Vulnerability

Severity: MODERATE

Description:

Gallery is a web based photo album written using PHP. Gallery is used to create and maintain albums of photos via a web-based interface.

A problem has been reported in the Gallery application. When creating 'temp' and 'albums' directories and managing image files, Gallery uses unsafe file permissions. Specifically, Gallery creates these folders with the same group and owner permissions of the web server.

As a result anyone who may have access to local web server resources may gain access to other users' Gallery albums.

This vulnerability could lead to local users obtaining unauthorized access to sensitive files by causing the web server to execute a malicious script.

This vulnerability was reported for Gallery version 1.3.3. It is not known if earlier versions are affected by this vulnerability.

Affected Products:

  • Bharat Mediratta Gallery 1.3.3

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.