PHP Photo Gallery Remote Command Execution and Remote File Include Vulnerabilities
BID:41889
Info
PHP Photo Gallery Remote Command Execution and Remote File Include Vulnerabilities
| Bugtraq ID: | 41889 |
| Class: | Input Validation Error |
| CVE: |
CVE-2010-4948 |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 21 2010 12:00AM |
| Updated: | Oct 11 2011 08:30PM |
| Credit: | ViRuS Qalaa |
| Vulnerable: |
PHP Photo Gallery PHP Photo Gallery 0 |
| Not Vulnerable: | |
Discussion
PHP Photo Gallery Remote Command Execution and Remote File Include Vulnerabilities
PHP Photo Gallery is prone to a remote command-execution vulnerability and a remote file-include vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit these issues to execute arbitrary commands, obtain potentially sensitive information and execute arbitrary script code 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 Photo Gallery is prone to a remote command-execution vulnerability and a remote file-include vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit these issues to execute arbitrary commands, obtain potentially sensitive information and execute arbitrary script code in the context of the webserver process. This may allow the attacker to compromise the application and the computer; other attacks are also possible.
Exploit / POC
PHP Photo Gallery Remote Command Execution and Remote File Include Vulnerabilities
Attackers can exploit these issues via a browser.
The following example URIs are available:
http://www.example.com/jadro/libs/adodb/adodb-perf.inc.php?output=id
http://www.example.com/jadro/libs/adodb/adodb.inc.php?path=shell.txt?
Attackers can exploit these issues via a browser.
The following example URIs are available:
http://www.example.com/jadro/libs/adodb/adodb-perf.inc.php?output=id
http://www.example.com/jadro/libs/adodb/adodb.inc.php?path=shell.txt?
Solution / Fix
PHP Photo Gallery Remote Command Execution and Remote 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 Photo Gallery Remote Command Execution and Remote File Include Vulnerabilities
References:
References:
- PHP Photo Gallery Homepage (PHP Photo Gallery)