Secunia Logo
 
R2K Gallery "lang2" Local File Inclusion
Secunia Advisory: SA25261
Release Date: 2007-05-14
Last Update: 2007-05-18
Popularity: 2,783 views

Critical:
Moderately critical
Impact: Exposure of system information
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:R2K Gallery 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-2642


Description:
Dj7xpl has discovered a vulnerability in R2K Gallery, which can be exploited by malicious people to disclose sensitive information.

Input passed to the "lang2" parameter in galeria.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.

Successful exploitation requires that "register_globals" is enabled and that the "pictures_folder" parameter is set (e.g. "pictures_folder=./examples/").

The vulnerability is confirmed in version 1.7. Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly verified.

Provided and/or discovered by:
Dj7xpl

Changelog:
2007-05-18: Added CVE reference.

Original Advisory:
http://0day.2600.ir/exploits/3902


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. Apple iPhone / iPod touch Multiple Vulnerabilities // 111 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 49 views
3. vBulletin Visitor Messages Script Insertion Vulnerability // 46 views
4. Checkpoint VPN-1 Information Disclosure Vulnerability // 40 views
5. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 36 views
6. Easyedit CMS Multiple SQL Injection Vulnerabilities // 34 views
7. Fedora update for thunderbird // 34 views
8. EMC Control Center SAN Manager Multiple Vulnerabilities // 32 views
9. Avaya CMS Solaris "sadmind" Buffer Overflow Vulnerability // 28 views
10. Softbiz Classifieds Script "msg" Cross-Site Scripting Vulnerability // 27 views