HexBrain

Browse / CVEs / CVE-2020-24312

CVE-2020-24312· webdesi9 / file manager· CWE-552

WordPress Plugin File Manager (wp-file-manager) Backup Disclosure

highseverity
7.5CVSS score
15.9%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it

mndpsingh287 WP File Manager v6.4 and lower fails to restrict external access to the fm_backups directory with a .htaccess file. This results in the ability for unauthenticated users to browse and download any site backups, which sometimes include full database backups, that the plugin has taken.

Impact

This vulnerability can lead to unauthorized access to sensitive information, such as database backups, configuration files, and other sensitive data.

Fix

Update the WordPress Plugin File Manager (wp-file-manager) to the latest version to mitigate the backup disclosure vulnerability.

How to confirm it

Send: GET {{BaseURL}}/wp-content/uploads/wp-file-manager-pro/fm_backup/
Positive when: contains "Index of" and "wp-content/uploads/wp-file-manager-pro/fm_backup" and "backup_" AND status 200

Run it with nuclei: nuclei -id CVE-2020-24312 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2020-24312

info:
  name: WordPress Plugin File Manager (wp-file-manager) Backup Disclosure
  author: x1m_martijn
  severity: high
  description: |
    mndpsingh287 WP File Manager v6.4 and lower fails to restrict external access to the fm_backups directory with a .htaccess file. This results in the ability for unauthenticated users to browse and download any site backups, which sometimes include full database backups, that the plugin has taken.
  impact: |
    This vulnerability can lead to unauthorized access to sensitive information, such as database backups, configuration files, and other sensitive data.
  remediation: |
    Update the WordPress Plugin File Manager (wp-file-manager) to the latest version to mitigate the backup disclosure vulnerability.
  reference:
    - https://zeroaptitude.com/zerodetail/wordpress-plugin-bug-hunting-part-1/
    - https://nvd.nist.gov/vuln/detail/CVE-2020-24312
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/Elsfa7-110/kenzer-templates
    - https://github.com/StarCrossPortal/scalpel
  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-2020-24312
    cwe-id: CWE-552
    epss-score: 0.15906
    epss-percentile: 0.96918
    cpe: cpe:2.3:a:webdesi9:file_manager:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: webdesi9
    product: file_manager
    framework: wordpress
  tags: cve,cve2020,wordpress,backups,plugin,webdesi9,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/uploads/wp-file-manager-pro/fm_backup/'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Index of'
          - 'wp-content/uploads/wp-file-manager-pro/fm_backup'
          - 'backup_'
        condition: and

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from