Secunia Logo
Netsikker nu! 2008
 
Ralf Image Gallery File Inclusion Vulnerabilities
Secunia Advisory: SA20771
Release Date: 2006-06-21
Last Update: 2006-06-28
Popularity: 5,735 views

Critical:
Highly critical
Impact: System access
Where: From remote
Solution Status: Partial Fix

Software:Ralf Image Gallery (RIG) 0.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-3210


Description:
David "Aesthetico" Vieira-Kurz has discovered a vulnerability in Ralf Image Gallery (RIG), which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "dir_abs_src" parameter in check_entry.php, admin_album.php, admin_image.php, admin_util.php and admin_translate.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.

Successful exploitation requires that "register_globals" is enabled.

The vulnerability has been confirmed in version 0.7 (stable), and also reported in version 0.7.4 (unstable) and 0.6.45.

Solution:
Update to version 1.0 and ensure that the "rig" directory is placed outside of the web root.

NOTE: Version 1.0 fixes only the check_entry.php script.

Provided and/or discovered by:
David "Aesthetico" Vieira-Kurz

Changelog:
2006-06-26: Updated "Solution" section.
2006-06-28: Added CVE reference.

Original Advisory:
http://www.majorsecurity.de/advisory/major_rls18.txt


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. CA ARCserve Backup Multiple Vulnerabilities // 33 views
2. Subdreamer Light Global Variables SQL Injection Vulnerability // 30 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 30 views
4. CUPS Multiple Vulnerabilities // 29 views
5. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 29 views
6. Fedora update for ruby // 24 views
7. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 23 views
8. Fedora update for dbus // 22 views
9. Gentoo Portage Insecure Python Module Search Path Security Issue // 22 views
10. FUJITSU Interstage Products Apache Tomcat Security Bypass // 21 views