Secunia Logo  
 
PHP-Daily File Disclosure and SQL Injection Vulnerabilities
Secunia Advisory: SA32408
Release Date: 2008-10-29
Last Update: 2008-11-06
Popularity: 803 views

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

Software:PHP-Daily 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-4757
CVE-2008-4758
CVE-2008-4756


Description:
0xFFFFFF has discovered some vulnerabilities in PHP-Daily, which can be exploited by malicious people to disclose sensitive information and conduct SQL injection attacks.

1) Input passed to the "fichier" parameter in download_file.php is not properly sanitised before being used. This can be exploited to download arbitrary files via directory traversal attacks.

2) Input passed to the "id" parameter in add_postit.php (when "mode" is set to "rep") and in delete.php (when "mode" is set to "postit") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

The vulnerabilities are confirmed in version 1.1. Other versions may also be affected.

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

Provided and/or discovered by:
0xFFFFFF

Changelog:
2008-11-03: Added CVE reference.
2008-11-06: Added CVE reference.

Original Advisory:
http://milw0rm.com/exploits/6833


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. Drupal Project Module File Upload and Cross-Site Scripting // 51 views
2. Internet Explorer Data Binding Memory Corruption Vulnerability // 47 views
3. Sun Java JDK / JRE Multiple Vulnerabilities // 40 views
4. SmbFTPD Long Command Processing Vulnerability // 38 views
5. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 33 views
6. Cisco Global Site Selector DNS Request Denial of Service // 30 views
7. Symantec Mail Security for SMTP Response Handling Denial of Service // 25 views
8. PHP-Fusion Members CV Module "sortby" SQL Injection Vulnerability // 24 views
9. Xdg-utils mailcap Command Execution Security Issue // 24 views
10. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 24 views