Calibre Cross Site Scripting and Directory Traversal Vulnerabilities
BID:45532
Info
Calibre Cross Site Scripting and Directory Traversal Vulnerabilities
| Bugtraq ID: | 45532 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 21 2010 12:00AM |
| Updated: | Dec 21 2010 12:00AM |
| Credit: | Janek Vind "waraxe" |
| Vulnerable: |
Kovid Goyal Calibre 0.7.34 |
| Not Vulnerable: | |
Discussion
Calibre Cross Site Scripting and Directory Traversal Vulnerabilities
Calibre is prone to a cross-site scripting vulnerability and a directory-traversal vulnerability because it fails to sufficiently sanitize user-supplied input.
Exploiting these issues will allow an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site, and to view arbitrary local files and directories within the context of the webserver. This may let the attacker steal cookie-based authentication credentials and other harvested information may aid in launching further attacks.
Calibre 0.7.34 is vulnerable; other versions may also be affected.
Calibre is prone to a cross-site scripting vulnerability and a directory-traversal vulnerability because it fails to sufficiently sanitize user-supplied input.
Exploiting these issues will allow an attacker to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site, and to view arbitrary local files and directories within the context of the webserver. This may let the attacker steal cookie-based authentication credentials and other harvested information may aid in launching further attacks.
Calibre 0.7.34 is vulnerable; other versions may also be affected.
Exploit / POC
Calibre Cross Site Scripting and Directory Traversal Vulnerabilities
Attackers can exploit the cross-site scripting issue by enticing an unsuspecting user to follow a malicious URI.
The following exploit code and example URI are available:
Attackers can exploit the cross-site scripting issue by enticing an unsuspecting user to follow a malicious URI.
The following exploit code and example URI are available:
Solution / Fix
Calibre Cross Site Scripting and Directory Traversal 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
Calibre Cross Site Scripting and Directory Traversal Vulnerabilities
References:
References:
- [waraxe-2010-SA#077] - Multiple Vulnerabilities in Calibre 0.7.34 (Janek Vind "waraxe")
- Calibre Homepage (Kovid Goyal)