Secunia Logo  
 
Gallery Arbitrary File Upload Vulnerability
Secunia Advisory: SA12316
Release Date: 2004-08-24
Popularity: 6,731 views

Critical:
Less critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:Gallery 1.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
aCiDBiTS has reported a vulnerability in Gallery, potentially allowing malicious people to compromise a vulnerable system.

The problem is that "save_photos.php" stores uploaded files in a temporary folder before processing them without checking if they are valid images files. This allows malicious people to upload and execute arbitrary code if the temporary folder is accessible from remote.

This has been reported to affect version 1.4.4. Prior versions may also be affected.

NOTE: This only affects systems where the temporary upload folder has been placed in a non-default and public accessible folder. Temporary folders should never be publicly accessible. It is also required that malicious people or users have upload privileges to an album.

Solution:
Version 1.4.4-pl1 is not affected.
http://gallery.menalto.com/modules.ph...&file=index&pagename=Download

Provided and/or discovered by:
aCiDBiTS


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 65 views
2. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 46 views
3. Symantec Mail Security for SMTP Response Handling Denial of Service // 41 views
4. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 40 views
5. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 27 views
6. Red Hat update for openssl // 27 views
7. ComponentOne SizerOne CTab ActiveX Control Caption List Buffer Overflow // 27 views
8. TSC2 Help Desk CTab ActiveX Control Caption List Buffer Overflow // 26 views
9. Red Hat update for xterm // 25 views
10. Red Hat update for dbus // 24 views