TomatoCart 'pdf.php' Local File Include Vulnerability
BID:49559
Info
TomatoCart 'pdf.php' Local File Include Vulnerability
| Bugtraq ID: | 49559 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 12 2011 12:00AM |
| Updated: | Sep 12 2011 12:00AM |
| Credit: | brain[pillow] |
| Vulnerable: |
TomatoCart TomatoCart 1.1 |
| Not Vulnerable: | |
Discussion
TomatoCart 'pdf.php' Local File Include Vulnerability
TomatoCart is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker can exploit this vulnerability to obtain potentially sensitive information and to execute arbitrary local scripts in the context of the Web server process. This may allow the attacker to compromise the application and the computer; other attacks are also possible.
TomatoCart 1.1 is vulnerable; other versions may also be affected.
TomatoCart is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker can exploit this vulnerability to obtain potentially sensitive information and to execute arbitrary local scripts in the context of the Web server process. This may allow the attacker to compromise the application and the computer; other attacks are also possible.
TomatoCart 1.1 is vulnerable; other versions may also be affected.
Exploit / POC
TomatoCart 'pdf.php' Local File Include Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/pdf.php?module=1&pdf=../../../../../../../../../../../../../etc/passwd%00
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/pdf.php?module=1&pdf=../../../../../../../../../../../../../etc/passwd%00
Solution / Fix
TomatoCart 'pdf.php' Local File Include Vulnerability
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].