Php-residence 'template_data_dir' Parameter Multiple Local File Include Vulnerabilities
BID:37837
Info
Php-residence 'template_data_dir' Parameter Multiple Local File Include Vulnerabilities
| Bugtraq ID: | 37837 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 18 2010 12:00AM |
| Updated: | Jan 18 2010 12:00AM |
| Credit: | cr4wl3r |
| Vulnerable: |
Php-Residence Php-Residence 0.7.2 |
| Not Vulnerable: | |
Discussion
Php-residence 'template_data_dir' Parameter Multiple Local File Include Vulnerabilities
Php-residence is prone to multiple local file-include vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit these vulnerabilities to obtain potentially sensitive information and execute arbitrary local scripts in the context of the webserver process. This may allow the attacker to compromise the application and the computer; other attacks are also possible.
Php-residence 0.7.2 is vulnerable; other versions may also be affected.
Php-residence is prone to multiple local file-include vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit these vulnerabilities to obtain potentially sensitive information and execute arbitrary local scripts in the context of the webserver process. This may allow the attacker to compromise the application and the computer; other attacks are also possible.
Php-residence 0.7.2 is vulnerable; other versions may also be affected.
Exploit / POC
Php-residence 'template_data_dir' Parameter Multiple Local File Include Vulnerabilities
Attackers can exploit these issues via a browser.
The following example URIs are available:
http://www.example.com/[PHP-RESIDENCE_path]/includes/templates/cal/form.php?template_data_dir=[LFI%00]
http://www.example.com/[PHP-RESIDENCE_path]/includes/templates/rat/form.php?template_data_dir=[LFI%00]
Attackers can exploit these issues via a browser.
The following example URIs are available:
http://www.example.com/[PHP-RESIDENCE_path]/includes/templates/cal/form.php?template_data_dir=[LFI%00]
http://www.example.com/[PHP-RESIDENCE_path]/includes/templates/rat/form.php?template_data_dir=[LFI%00]
Solution / Fix
Php-residence 'template_data_dir' Parameter Multiple Local File Include 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].
References
Php-residence 'template_data_dir' Parameter Multiple Local File Include Vulnerabilities
References:
References:
- Php-Residence Homepage (Php-Residence)